adding typing and flake8

This commit is contained in:
Peter Dwyer committed 2022-09-01 11:06:12 +01:00
1 parent f0bcf6df6f
commit 08fade65ab
7 files changed
+92 -139

No files matched your search

+11 -8
View File
@@ -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