Commit 8d52fe7b authored by hynek's avatar hynek 🤤 Committed by hynek
Browse files

chore: split setup.cfg into config files


(cherry picked from commit ab02c772)
parent 4795b1dd
......@@ -13,7 +13,7 @@ indent_style = space
indent_size = 4
[*.py]
line_length = 120
line_length = 88
known_first_party = discuss_data
multi_line_output = 3
default_section = THIRDPARTY
......
[flake8]
ignore = E203, E266, E501, W503, F403, F401
max-line-length = 79
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4,B9
\ No newline at end of file
select = B,C,E,F,W,T4,B9
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
[flake8]
max-line-length = 120
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
[pycodestyle]
max-line-length = 120
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
[mypy]
python_version = 3.7
check_untyped_defs = True
......
# Example configuration for Black.
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
line-length = 79
line-length = 88
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
......@@ -28,5 +26,7 @@ exclude = '''
| \.vscode
| docs
| node_modules
| package.json
| package-lock.json
)/
'''
[pytest]
addopts = --ds=config.settings.test --reuse-db
addopts = --ds=config.settings.test
python_files = tests.py test_*.py
norecursedirs = node_modules
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment