forked from glotzerlab/coxeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
49 lines (41 loc) · 1.27 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
[bumpversion]
current_version = 0.6.1
commit = True
tag = True
message = Bump up to version {new_version}.
[bdist_wheel]
python-tag = py3
[bumpversion:file:coxeter/__init__.py]
[bumpversion:file:doc/source/conf.py]
[bumpversion:file:setup.py]
[flake8]
# For compatibility with black.
max-line-length = 88
exclude = coxeter/extern/*
select = E,F,W,B,RST,N
per-file-ignores =
coxeter/__init__.py: F401
# We prefer line breaks before, not after, binary operators.
ignore =
W503
rst-roles =
attr,class,func,meth,mod,obj,ref,term,cite
[isort]
skip_glob = */extern/*
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
line_length = 88
known_third_party = hypothesis,pytest
known_first_party = conftest,coxeter,utils
[pydocstyle]
add-ignore =
D105, # Magic methods don't require documentation.
D107, # __init__ should be documented in class constructors.
D401, # This doesn't play nice with property docstrings of the form `type: ...`
D402, # This doesn't play nice with property docstrings of the form `type: ...`
D403 # This doesn't play nice with property docstrings of the form `type: ...`
[tool:pytest]
addopts = --doctest-modules -p coxeter.__doctest_fixtures
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS