-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.cfg
88 lines (79 loc) · 2.41 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[metadata]
name = demes
author = PopSim Consortium
license = ISC
description = tools for describing demographic models
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/popsim-consortium/demes-python
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: ISC License (ISCL)
Operating System :: OS Independent
Intended Audience :: Science/Research
Programming Language :: Python :: 3
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Bio-Informatics
project_urls =
Documentation = https://popsim-consortium.github.io/demes-docs/
Source Code = https://github.com/popsim-consortium/demes-python/
Bug Tracker = https://github.com/popsim-consortium/demes-python/issues
[options]
packages = demes
zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.html
include_package_data = True
python_requires = >=3.7
install_requires =
attrs >= 20.3.0 # for attr.asdict(value_serializer=...)
ruamel.yaml >= 0.15.78 # attempts to install earlier versions failed
setup_requires =
setuptools
setuptools_scm
[options.entry_points]
console_scripts =
demes = demes.__main__:cli
[flake8]
extend-exclude = docs/_build
# black-compatible settings
max-line-length = 88
extend-ignore = E203, W503
# There's no way to ignore specific warnings in the files themselves.
# "flake8: noqa: F401" on its own line will just ignore all warnings.
per-file-ignores =
tests/test_import_visibility.py:F403,F405
[mypy]
files = demes, tests
warn_unused_ignores = True
show_error_codes = True
# We support python 3.7, so should really be using 3.7 here,
# but we're forced to set this higher because of positional-only
# type annotations in numpy (which are only supported in >=3.8).
python_version = 3.8
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-ruamel.*]
ignore_missing_imports = True
[tool.black]
target_version = py37
[tool:pytest]
addopts = -n auto
testpaths = tests
[pylint.messages_control]
disable =
chained-comparison,
fixme,
invalid-name,
missing-docstring,
missing-module-docstring,
superfluous-parens,
protected-access,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-nested-blocks,
too-many-statements,
unspecified-encoding,
unused-argument,