-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.cfg
53 lines (48 loc) · 1.22 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
[pycodestyle]
max_line_length = 110
[flake8]
max-line-length = 110
exclude =
.git,
__pycache__,
docs/conf.py,
build,
glue_solar/__init__.py,
rst-directives =
plot
[isort]
balanced_wrapping = True
skip = docs/conf.py, glue_solar/__init__.py
default_section = THIRDPARTY
include_trailing_comma = True
known_astropy = astropy, asdf, sunpy
known_first_party = glue_solar
length_sort = False
length_sort_sections=stdlib
line_length = 110
multi_line_output = 3
no_lines_before = LOCALFOLDER
sections = STDLIB, THIRDPARTY, ASTROPY, FIRSTPARTY, LOCALFOLDER
[coverage:run]
omit =
glue_solar/conftest.py
glue_solar/*setup*
glue_solar/version*
glue_solar/__init__*
*/glue_solar/conftest.py
*/glue_solar/*setup*
*/glue_solar/version*
*/glue_solar/__init__*
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about packages we have installed
except ImportError
# Don't complain if tests don't hit assertions
raise AssertionError
raise NotImplementedError
# Don't complain about script hooks
def main\(.*\):
# Ignore branches that don't pertain to this version of Python
pragma: py{ignore_python_version}