mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
adding typing and flake8
This commit is contained in:
19
setup.cfg
19
setup.cfg
@@ -1,21 +1,24 @@
|
||||
[tool:pytest]
|
||||
addopts = -vv --black --isort --flake8
|
||||
addopts = --flake8
|
||||
|
||||
[flake8]
|
||||
max-line-length = 119
|
||||
max-line-length = 120
|
||||
ignore =
|
||||
* ANN101
|
||||
# Ignore rules which contradicts black's formatting choices:
|
||||
* E501
|
||||
* W503
|
||||
* W504
|
||||
* E266
|
||||
; * E501
|
||||
; * W503
|
||||
; * W504
|
||||
; * E266
|
||||
exclude =
|
||||
# Exclude these files
|
||||
comic/rarfile.py
|
||||
*/migrations/*
|
||||
cbreader/settings
|
||||
frontend
|
||||
|
||||
|
||||
[tool:isort]
|
||||
line_length = 119
|
||||
indent = ' '
|
||||
multi_line_output = 3
|
||||
include_trailing_comma = 1
|
||||
include_trailing_comma = 1
|
||||
|
||||
Reference in New Issue
Block a user