mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-05 04:36:52 +00:00
move from optparse to argparse
This commit is contained in:
parent
03cb85f556
commit
b66ebd7034
30 changed files with 462 additions and 302 deletions
22
.coveragerc
22
.coveragerc
|
|
@ -1,11 +1,31 @@
|
|||
[run]
|
||||
parallel = True
|
||||
branch = True
|
||||
source =
|
||||
flake8
|
||||
|
||||
omit =
|
||||
# Don't complain if non-runnable code isn't run
|
||||
*/__main__.py
|
||||
|
||||
[paths]
|
||||
source =
|
||||
src/flake8
|
||||
.tox/*/lib/python*/site-packages/flake8
|
||||
.tox/pypy/site-packages/flake8
|
||||
|
||||
[report]
|
||||
show_missing = True
|
||||
skip_covered = True
|
||||
exclude_lines =
|
||||
# Have to re-enable the standard pragma
|
||||
\#\s*pragma: no cover
|
||||
|
||||
# Don't complain if tests don't hit defensive assertion code:
|
||||
^\s*raise AssertionError\b
|
||||
^\s*raise NotImplementedError\b
|
||||
^\s*return NotImplemented\b
|
||||
^\s*raise$
|
||||
|
||||
# Don't complain if non-runnable code isn't run:
|
||||
^if __name__ == ['"]__main__['"]:$
|
||||
^\s*if False:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue