forked from astropy/astropy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
60 lines (49 loc) · 1.71 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
54
55
56
57
58
59
60
[build_sphinx]
source-dir = docs
build-dir = docs/_build
all_files = 1
[build_docs]
source-dir = docs
build-dir = docs/_build
all_files = 1
[upload_docs]
upload-dir = docs/_build/html
show-response = 1
[pytest]
minversion = 2.3.3
norecursedirs = ".tox" "build" "docs[\/]_build" "astropy[\/]extern" "astropy[\/]utils[\/]compat[\/]futures"
doctest_plus = enabled
doctest_norecursedirs = "astropy[\/]sphinx"
open_files_ignore = "astropy.log" "/etc/hosts"
[bdist_wininst]
bitmap = static/wininst_background.bmp
[ah_bootstrap]
auto_use = True
# We now have sections for the pep8 and flake8 commands. We need to repeat the
# configuration once for each command. Rather than check all warnings, we only
# select certain ones that really matter.
# PEP8 errors/warnings:
# E101 - mix of tabs and spaces
# W191 - use of tabs
# W291 - trailing whitespace
# W292 - no newline at end of file
# W293 - trailing whitespace
# W391 - blank line at end of file
# E111 - 4 spaces per indentation level
# E112 - 4 spaces per indentation level
# E113 - 4 spaces per indentation level
# E722 - do not use bare except
# E901 - SyntaxError or IndentationError
# E902 - IOError
# If you want to exclude a line from checking, simply add ' # noqa' at the end of the line
[pycodestyle]
select = E101,W191,W291,W292,W293,W391,E111,E112,E113,E722,E901,E902
exclude = extern,sphinx,*parsetab.py
[flake8]
select = E101,W191,W291,W292,W293,W391,E111,E112,E113,E722,E901,E902
exclude = extern,sphinx,*parsetab.py
[zest.releaser]
prereleaser.middle = astropy.utils.release.prereleaser_middle
releaser.middle = astropy.utils.release.releaser_middle
postreleaser.before = astropy.utils.release.postreleaser_before
postreleaser.middle = astropy.utils.release.postreleaser_middle