You've already forked OpenUxAS-bootstrap
mirror of
https://github.com/AdaCore/OpenUxAS-bootstrap.git
synced 2026-02-12 13:07:23 -08:00
Support pre-commit checks used in AdaCore/e3-core These are a good example of best style practices for python projects. Adding the associated badges to the README (even though it needs to be rewritten) so the commit is complete and consistent. Documentation of how to set up and run the checks is in CONTRIBUTING.md
8 lines
365 B
INI
8 lines
365 B
INI
[flake8]
|
|
exclude = .git,__pycache__,build,dist,.tox
|
|
ignore = C901, E203, E266, E501, W503,D100,D101,D102,D102,D103,D104,D105,D106,D107,D203,D403,D213
|
|
# line length is intentionally set to 80 here because black uses Bugbear
|
|
# See https://github.com/psf/black/blob/master/README.md#line-length for more details
|
|
max-line-length = 80
|
|
select = ANN,B,B9,BLK,C,D,E,F,T4,W
|