-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
129 lines (118 loc) · 2.56 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name="e3nn"
requires-python = ">=3.7"
dynamic = ["version", "readme"]
license = {text = "MIT"}
description = "Equivariant convolutional neural networks for the group E(3) of 3 dimensional rotations, translations, and mirrors."
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: MacOS",
]
dependencies = [
"sympy",
"scipy",
"torch>=1.8.0",
"opt_einsum_fx>=0.1.4"
]
[project.optional-dependencies]
dev = [
"pytest",
"pre-commit",
]
[project.urls]
homepage = "https://e3nn.org"
documentation = "https://docs.e3nn.org/"
repository = "https://github.com/e3nn/e3nn.git"
changelog = "https://github.com/e3nn/e3nn/blob/main/.github/CHANGELOG.md"
[tool.setuptools.packages.find]
exclude = [
"tests",
"tests.*",
]
[tool.setuptools.dynamic]
version = {attr = "e3nn.__version__"}
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.black]
line-length = 127
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.flake8]
max-line-length = 127
max-complexity = 21
select = ["B", "C", "E", "F", "W", "T4", "B9"]
ignore = [
"E741",
"E203",
"W503",
"C901"
]
exclude = [
".eggs",
"*.egg",
"build",
"dist",
"docs/_build",
"notebook"
]
per-file-ignores = [
"e3nn/o3/cartesian_spherical_harmonics.py: E226",
]
[tool.coverage.run]
source = ["e3nn"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"torch.jit.script",
"raise",
"except",
]
[tool.pylint.typecheck]
generated-members = "numpy.*,torch.*"
[tool.pylint."messages control"]
disable = [
"protected-access",
"no-else-return",
"raise-missing-from",
"invalid-name",
"duplicate-code",
"import-outside-toplevel",
"missing-docstring",
"bad-continuation",
"locally-disabled",
"too-few-public-methods",
"too-many-arguments",
"too-many-instance-attributes",
"too-many-local-variables",
"too-many-locals",
"too-many-branches",
"too-many-statements",
"too-many-return-statements",
"redefined-builtin",
"redefined-outer-name",
"line-too-long",
"fixme",
]