-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.cfg
73 lines (65 loc) · 2.04 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
[metadata]
name = aioca
description = Asynchronous Channel Access client for asyncio and Python using libca via ctypes
url = https://github.com/DiamondLightSource/aioca
author = Tom Cobb
author_email = tom.cobb@diamond.ac.uk
license = Apache License 2.0
long_description = file: README.rst
long_description_content_type = text/x-rst
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[options]
# Locate packages automatically
packages = find:
install_requires =
numpy
epicscorelibs >= 7.0.3.99.4.0
typing_extensions
[options.extras_require]
# For development tests/docs
dev =
black==19.10b0
# https://github.com/psf/black/issues/2964
click<8.1.0
isort>5.0
flake8<5
pytest-asyncio
pytest-cov
pytest-mypy
pytest-flake8
pytest-black
flake8-isort
sphinx-rtd-theme-github-versions
[options.packages.find]
# Don't include our tests directory in the distribution
exclude = tests
[mypy]
# Ignore missing stubs for modules we use
ignore_missing_imports = True
[isort]
profile=black
float_to_top=true
skip=setup.py,conf.py
[flake8]
# Make flake8 respect black's line length (default 88),
max-line-length = 88
extend-ignore =
E203, # See https://github.com/PyCQA/pycodestyle/issues/373
F811, # support typing.overload decorator
[tool:pytest]
# Run pytest with all our checkers, and don't spam us with massive tracebacks on error
# Turn off unraisable exceptions as we want to check for them in test_closing_event_loop()
addopts =
--tb=native -vv --flake8 --black --mypy --doctest-modules --doctest-glob="*.rst"
--cov=aioca --cov-report term --cov-report xml:cov.xml -p no:unraisableexception
[coverage:run]
# This is covered in the versiongit test suite so exclude it here
omit = */_version_git.py
data_file = /tmp/aioca.coverage