~lttng/babeltrace/trunk

  • Committer: Simon Marchi
  • Date: 2019-09-26 01:52:28 UTC
  • Revision ID: git-v1:f641029a30fc8d40a6d178541aad910593a49c7a
Add setup.cfg with sensible flake8 configuration

This is a sensible config which allows to run "flake8 ." without having
too many useless warnings.

Note that the `per-file-ignores` config requires flake8 >= 3.7.

Ignore:

- E501, line too long, because we don't really care about that (black
  decides how it's formatted anyway).
- W503, line break before bbinary operator, because we don't really care
  about that (black decides how it's formatted anyway).

__init__.py contains some expectedly unused imports, so it seems cleaner
to disable that warning for the whole file, rather than putting a "noqa"
comment on each line.  Of course, we risk having a really unused import
in that file, but it doesn't contain much, so the risk is low.

Finally, exclude the Python tap directory, as it's not our code.

Change-Id: Iebdf274b91907fb31d4ebfa6ae4c8157de46467c
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2083
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Filename Latest Rev Last Changed Committer Comment Size
..
doc 376 12 years ago Mathieu Desnoyers Add babeltrace.1 manpage Signed-off-by: Mathieu D Diff
include 1 13 years ago Mathieu Desnoyers Common Trace Format - initial commit Signed-off-b Diff
m4 545 11 years ago Mathieu Desnoyers Babeltrace python binding The Babeltrace Python m Diff
src 3138 4 years ago Philippe Proulx Re-organize sources * Create a top-level 'src' d Diff
tests 1 13 years ago Mathieu Desnoyers Common Trace Format - initial commit Signed-off-b Diff
.editorconfig 2904 5 years ago Francis Deslauriers .editorconfig: add `charset = utf-8` Signed-off-b 201 bytes Diff Download File
.gitignore 3510 4 years ago Philippe Proulx Add bt_graph_add_simple_sink_component() tests As 1.2 KB Diff Download File
.gitreview 2989 5 years ago Francis Deslauriers Add git-review config Signed-off-by: Michael Jean 123 bytes Diff Download File
File bootstrap 1288 8 years ago Jérémie Galarneau bootstrap: Standardize on autoreconf -vi Don't ov 78 bytes Diff Download File
ChangeLog 676 10 years ago Mathieu Desnoyers Version 1.2.0 Signed-off-by: Mathieu Desnoyers <m 28.5 KB Diff Download File
CodingStyle 3392 4 years ago Philippe Proulx Explicitly mention `black` in CodingStyle guidelin 469 bytes Diff Download File
configure.ac 3543 4 years ago Philippe Proulx Move autodisc to its own convenience library Sinc 27.4 KB Diff Download File
CONTRIBUTING.adoc 3487 4 years ago Philippe Proulx Remove popt from project's dependencies All of th 47.5 KB Diff Download File
gpl-2.0.txt 1 13 years ago Mathieu Desnoyers Common Trace Format - initial commit Signed-off-b 17.5 KB Diff Download File
lgpl-2.1.txt 544.1.47 11 years ago Mathieu Desnoyers Document that list.h is LGPLv2.1, but entirely tri 25.8 KB Diff Download File
LICENSE 3138 4 years ago Philippe Proulx Re-organize sources * Create a top-level 'src' d 791 bytes Diff Download File
Makefile.am 3487 4 years ago Philippe Proulx Remove popt from project's dependencies All of th 209 bytes Diff Download File
mit-license.txt 544.1.80 11 years ago Mathieu Desnoyers Cleanup: Remove whitespace at EOL from mit-license 1 KB Diff Download File
pyproject.toml 3457 4 years ago Philippe Proulx bt2: move __version__ to version.py.in The only b 349 bytes Diff Download File
README 3487 4 years ago Philippe Proulx Remove popt from project's dependencies All of th 2.4 KB Diff Download File
setup.cfg 3756 4 years ago Simon Marchi Add setup.cfg with sensible flake8 configuration 341 bytes Diff Download File
std-ext-lib.txt 1 13 years ago Mathieu Desnoyers Common Trace Format - initial commit Signed-off-b 1.9 KB Diff Download File