make flake8 targets and .flake8 config
it requires ``` pip install flake8 pip install flake8-import-order ``` or ``` dnf install python3-flake8 python3-flake8-import-order ```
This commit is contained in:
parent
5b83c682e4
commit
1e1a760da0
2 changed files with 23 additions and 0 deletions
20
.flake8
Normal file
20
.flake8
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[flake8]
|
||||
select = I,C,F4
|
||||
ignore = F
|
||||
exclude = .git,
|
||||
__pycache__,
|
||||
tests,
|
||||
docs,
|
||||
./koji-*
|
||||
filename = *.py
|
||||
./cli/koji
|
||||
./builder/kojid
|
||||
./builder/mergerepos
|
||||
./hub/rpmdiff
|
||||
./util/kojira
|
||||
./util/koji-gc
|
||||
./util/koji-shadow
|
||||
./util/koji-sweep-db
|
||||
./vm/kojivmd
|
||||
application_import_names = koji,koji_cli,kojihub,kojiweb,__main__
|
||||
import_order_style = pep8
|
||||
Loading…
Add table
Add a link
Reference in a new issue