-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
62 lines (54 loc) · 1.51 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
61
62
# content of pytest.ini
# setup.cfg files should use [tool:pytest] section instead
[metadata]
description-file = README.rst
long_description = file: README.rst
long_description_content_type = text/x-rst; charset=UTF-8
[options]
zip_safe = False
packages = find:
include_package_data = True
# Add here dependencies of your project (semicolon/line-separated), e.g.
install_requires = antlr4-python3-runtime==4.13
# The usage of test_requires is discouraged, see `Dependency Management` docs
# tests_require = pytest; pytest-cov
[options.packages.find]
exclude =
tests
[tool:pytest]
# Options for py.test:
# Specify command line options as you would do when invoking py.test directly.
# e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
# in order to write a coverage file that can be read by Jenkins.
addopts =
--cov modelica_builder --cov-report term-missing
--verbose
norecursedirs =
dist
build
docs/build
testpaths = tests
[coverage:run]
omit =
modelica_builder/modelica_parser/*.py
[aliases]
dists = bdist_wheel
[bdist_wheel]
# Use this option if your package is pure-python
universal = 1
[devpi:upload]
# Options for the devpi: PyPI server and packaging tool
# VCS export must be deactivated since we are using setuptools-scm
no-vcs = 1
formats = bdist_wheel
[flake8]
# Some sane defaults for the code style checker flake8
exclude =
build
dist
.eggs
docs/build
docs/conf.py
modelica_builder/modelica_parser
ignore=E402,E501,E731,W503,W504
max-line-length=100