-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tox.ini
33 lines (31 loc) · 955 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Flake8 and ISort configuration
[flake8]
# Increase the line length. This breaks PEP8 but it is way easier to work with.
# The original reason for this limit was a standard vim terminal is only 79 characters,
# but this doesn't really apply anymore.
max-line-length=119
# Don't lint the venv or the CPython cache.
exclude=
*/migrations/*
.venv
__pycache__
bfportal/core/management/commands/playground.py
# Ignore some of the most obnoxious linting errors.
ignore=
W503,E226,
# Missing Docstrings
D100,D104,D105,D106,D107,
# Docstring Whitespace
D203,D212,D214,D215,
# Docstring Quotes
D301,D302,
# Docstring Content
D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417,
# Comments
# ignore E203 because of conflict with black see
# https://github.com/PyCQA/pycodestyle/issues/373
E266, E203
[isort]
profile = black
multi_line_output = 3
skip = "migrations"