-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
81 lines (71 loc) · 1.58 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=64", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "decomon"
description = "Linear Relaxation for Certified Robustness Bound for Tensorflow Neural Networks"
readme = "README.md"
authors = [
{email ="[email protected]"},
]
requires-python = ">=3.9"
dependencies =[
"matplotlib",
"numpy >=1.21",
"keras>=3",
]
dynamic = ["version"]
[project.urls]
documentation = "https://airbus.github.io/decomon"
repository = "https://github.com/airbus/decomon"
[project.optional-dependencies]
dev = ["tox>=4.6.4"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"--import-mode=importlib",
"--ignore=tests/lirpa_comparison",
"--ignore=tests/test_deel_lip.py",
]
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| tests/.*/setup.py
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.mypy]
files = "src"
strict_optional = true
implicit_optional = false
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"tensorflow.*",
"keras.*",
"deel.lip.*",
"keras_core.*",
"torch.*"
]
ignore_missing_imports = true