forked from yt-project/unyt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
50 lines (41 loc) · 1.03 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
[bumpversion]
current_version = 0.1.0
commit = True
tag = True
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:unyt/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bdist_wheel]
universal = 1
[aliases]
# Define setup.py command aliases here
test = pytest
[tool:pytest]
norecursedirs = benchmarks paper .*
[versioneer]
VCS = git
style = pep440
versionfile_source = unyt/_version.py
versionfile_build = unyt/_version.py
tag_prefix =
parentdir_prefix = unyt-
[coverage:run]
omit =
docs/*
versioneer.py
unyt/_version.py
unyt/_on_demand_imports.py
unyt/tests/test_linters.py
[flake8]
exclude = .*/,
benchmarks/*.py,
paper/*.py,
versioneer.py,
*/_version.py,
*/__init__.py, # avoid spurious "unused import"
max-line-length = 88
ignore = E203, # Whitespace before ':' (black compatibility)
W503, # Line break occurred before a binary operator (black compatibility)