-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.cfg
110 lines (94 loc) · 2.35 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[metadata]
license_file = LICENSE
license = MIT
name = ome-types
url = https://github.com/tlambert03/ome-types
author = Talley Lambert
author_email = talley.lambert@gmail.com
description = Python dataclasses for the OME data model
long_description = file:README.md
long_description_content_type = text/markdown; charset=UTF-8
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[options]
zip_safe = False
package_dir=
=src
packages = find:
include_package_data = True
python_requires = >=3.7
install_requires =
pydantic[email]>=1.0
xmlschema>=1.4.1,<2
Pint>=0.15
[options.entry_points]
napari.plugin =
ome-types = ome_types._napari_plugin
[options.package_data]
* = *.xsd
ome_types = py.typed
[options.extras_require]
autogen = isort>=5.0; black; autoflake; numpydoc
test = pytest; pytest-benchmark; tox;
[options.packages.find]
where=src
[flake8]
ignore = W503, C901, E501, E203
max-line-length = 88
[mypy]
follow_imports = silent
strict_optional = True
warn_redundant_casts = True
disallow_any_generics = True
check_untyped_defs = True
no_implicit_reexport = True
ignore_missing_imports = True
files = src
disallow_untyped_defs = True
[tool:pytest]
# use --benchmark-enable to enable benchmarks
addopts = --benchmark-disable
[tox:tox]
envlist = py{37,38,39}-{linux,macos,windows},pre-commit
toxworkdir=/tmp/.tox
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows
[testenv]
platform =
macos: darwin
linux: linux
windows: win32
passenv = CI GITHUB_ACTIONS CODECOV_TOKEN
extras = test
commands = pytest -v --basetemp={envtmpdir} {posargs}
[testenv:benchmark]
passenv = CI GITHUB_ACTIONS
extras = test
commands = pytest -v --benchmark-enable --basetemp={envtmpdir} {posargs}
[testenv:mypy]
deps = mypy
commands = mypy
[testenv:lint]
deps = flake8
commands = flake8
[testenv:pre-commit]
deps = pre-commit
commands = pre-commit run --all-files