mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-07 17:29:50 +00:00
Update flake8 and black configuration
- Update black to now use 120 lines - Update flake8 to use recommended settings for black integration
This commit is contained in:
parent
99ad297906
commit
af19660c18
5
pyproject.toml
Normal file
5
pyproject.toml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
[tool.black]
|
||||||
|
line-length = 120
|
4
tox.ini
4
tox.ini
@ -17,5 +17,5 @@ deps =
|
|||||||
[flake8]
|
[flake8]
|
||||||
exclude = .tox,env,build,cocoalib,cocoa,help,./qt/dg_rc.py,cocoa/run_template.py,./pkg
|
exclude = .tox,env,build,cocoalib,cocoa,help,./qt/dg_rc.py,cocoa/run_template.py,./pkg
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
ignore = E731,E203,E501,W503
|
select = C,E,F,W,B,B950
|
||||||
|
extend-ignore = E203, E501
|
||||||
|
Loading…
x
Reference in New Issue
Block a user