-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
53 lines (47 loc) · 1.33 KB
/
setup.cfg
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[bdist_wheel]
python-tag=py27.py35.py36.py37.py38
[metadata]
license_file = LICENSE
[flake8]
exclude = .git,.env/*,docs/*,build/*,.eggs/*,*.egg-info/*,.tox
max-line-length = 120
[isort]
# Vertical Hanging Indent
multi_line_output = 3
# Formatting settings
line_length = 120
include_trailing_comma = 1
combine_as_imports = 1
force_grid_wrap = 2
use_parentheses = 1
force_sort_within_sections = 1
lines_after_imports = 2
skip_glob=*.git/*,*.env/*,*/docs/*,*/build/*,*/.eggs/*,*.egg-info/*,.tox
not_skip=__init__.py
add_imports=__future__.absolute_import,__future__.unicode_literals
# Section ordering
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,CURRENT_PROJECT,LOCALFOLDER,TESTS
no_lines_before=LOCALFOLDER
# Section for third party packages
known_third_party=attr,conformity,currint,dateutil,freezegun,py,pycountry,pytest,pytz,six
# Section for specific project imports
known_current_project=pymetrics
known_tests=tests
[mypy]
python_version = 3.7
check_untyped_defs = True
[mypy-setup]
ignore_errors = True
[mypy-tasks]
ignore_errors = True
[mypy-django.*]
ignore_missing_imports = True
[mypy-freezegun.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[aliases]
test=pytest
[tool:pytest]
junit_family = xunit2
addopts = -s --junitxml=pytests.xml --cov=pymetrics --cov-branch --cov-fail-under=85 --cov-report=term-missing