-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathsetup.cfg
More file actions
99 lines (89 loc) · 2.23 KB
/
setup.cfg
File metadata and controls
99 lines (89 loc) · 2.23 KB
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
# Setuptools
# ----------
[metadata]
name = pycid
author = Causal Incentives Working Group
author_email = james.fox@keble.ox.ac.uk
description = Causal Influence Diagram library
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/causalincentives/pycid
license = Apache License 2.0
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Science/Research
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python :: 3
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Scientific/Engineering :: Mathematics
Topic :: Software Development :: Libraries
[options]
packages = find:
include_package_data = True
scripts =
python_requires = >=3.7
install_requires =
matplotlib
networkx
numpy
pgmpy==0.1.17
pygambit==16.0.2
setup_requires = setuptools_scm
[options.extras_require]
# Additional test dependencies
test =
flake8
ipykernel
mypy
nbconvert
nbformat
pep8-naming
pytest
notebook =
ipykernel
[options.entry_points]
console_scripts =
# Other Tools
# -----------
[flake8]
application-import-names=pycid
import-order-style=google
# E203: Whitespace before ':'. Not required by PEP8, violated by Black
# W503: Line break before binary operator. PEP8 recommends the opposite now.
# Note: To fix W605 make the docstring a raw string by starting with r"""
ignore = E203, W503
max-line-length = 120
max-complexity = 15
exclude =
migrations
__pycache__
manage.py
settings.py
env
.env
[mypy]
python_version = 3.9
warn_return_any = True
warn_unused_configs = True
follow_imports = skip
disallow_untyped_defs = True
ignore_missing_imports = True
exclude = build/
[isort]
line_length=120
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
skip_glob=*/third_party/*
known_third_party=matplotlib,nbconvert,nbformat,networkx,numpy,pgmpy,pygambit,pytest,setuptools
[tool:pytest]
# Don't show deprecation warning for dependencies
filterwarnings =
ignore::DeprecationWarning
default::DeprecationWarning:__main__
default::DeprecationWarning:pycid
ignore::PendingDeprecationWarning
default::PendingDeprecationWarning:__main__
default::PendingDeprecationWarning:pycid