generated from gecrooks/modern-python-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
106 lines (85 loc) · 2.38 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
# Setup Configuration File
# https://docs.python.org/3/distutils/configfile.html
# [INI](https://docs.python.org/3/install/index.html#inst-config-syntax) file format.
# setuptools v53.1.0 no longer recognizes capitalized keys, e.g. "Name" must be "name".
[metadata]
metadata-version: 2.2
name = qf_diamond_norm
summary = The diamond norm between two completely positive trace-preserving (CPTP) superoperators
long-description = file:README.md
long-description-content-type = text/markdown
keywords = quantum-computing,diamond-norm
home-page = https://github.com/gecrooks/qf-diamond-norm/
author = Gavin E. Crooks
author-email = gec@threeplusone.com
license = Apache-2.0
lcense-File = LICENSE
# https://pypi.org/classifiers/
classifiers=
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
Programming Language :: Python
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Typing :: Typed
[options]
zip_safe = True
python_requires = >= 3.9
install_requires =
quantumflow
cvxpy
setup_requires =
setuptools_scm
[options.extras_require]
dev =
pytest >= 4.6
pytest-cov
flake8
mypy
black
isort
sphinx
sphinxcontrib-bibtex
setuptools_scm
# pytest configuration
[tool:pytest]
testpaths =
qf_diamond_norm
# Configuration for test coverage
#
# https://coverage.readthedocs.io/en/latest/config.html
# > python -m pytest --cov
# Use ``# pragma: no cover`` to exclude specific lines
[coverage:paths]
source =
qf_diamond_norm
[coverage:run]
omit =
*_test.py
[coverage:report]
show_missing = true
exclude_lines =
pragma: no cover
except ImportError
assert False
raise NotImplementedError()
# flake8 linter configuration
[flake8]
max-line-length = 88
ignore = E203, W503
# mypy typecheck configuration
#
# https://mypy.readthedocs.io/en/stable/config_file.html
[mypy]
files = qf_diamond_norm
# Suppresses error about unresolved imports (i.e. from numpy)
ignore_missing_imports = True
# Disallows functions without type annotations
disallow_untyped_defs = True
# Disable strict optional checks (Was default prior to mypy 0.600)
strict_optional = False