-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (123 loc) · 2.7 KB
/
pyproject.toml
File metadata and controls
138 lines (123 loc) · 2.7 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
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
130
131
132
133
134
135
136
137
138
[project]
name = "caloutils"
version = '0.0.11'
authors = [
{ name = "mova", email = "mova@users.noreply.github.com" },
]
description = "Metrics and tools for evaluation generative models for calorimeter shower based on pytorch_geometric."
requires-python = ">=3.8"
readme = "README.rst"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"torch==2.0.1",
"torch_geometric>=2.3.0",
"torch-scatter>=2.1.1",
"torch_sparse",
"torch_cluster",
"scikit-learn==1.2.2",
"tqdm",
"jetnet",
"omegaconf",
"matplotlib",
"seaborn"
]
[project.optional-dependencies]
dev = [
"black",
"pre-commit",
"ruff",
]
[project.urls]
"Homepage" = "https://github.com/DeGeSim/chep23DeepTreeGAN"
"Bug Tracker" = "https://github.com/DeGeSim/chep23DeepTreeGAN/issues"
#[tool.setuptools.packages.find]
#where = ["."] # list of folders that contain the packages (["."] by default)
#include = ["fgsim"] # package names should match these glob patterns (["*"] by default)
#exclude = [] # exclude packages matching these glob patterns (empty by default)
#namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.setuptools]
py-modules = ["fgsim"]
# [build-system]
# build-backend = "flit_core.buildapi"
# requires = ["flit_core >=3.2,<4"]
[tool.pytest.ini_options]
python_files = "*.py"
testpaths = ["tests"]
#--ignore=E203,E302
[tool.flake8]
exclude = ["fgsim/old/*", ".tox", "docs", "__pycache__"]
ignore = "E203,E302,W503,F541,"
max-line-length = 84
per-file-ignores = """
fgsim/__main__.py: E402,F401,
**/__init__.py: F401
"""
[tool.isort]
profile = "black"
line_length = 84
[tool.black]
exclude = '''
(
/(
\..*
| _build
| buck-out
| build
| dist
| fgsim/old
| fgsim/geo/libs
)
)
'''
preview = true
include = '.*\.pyi?$'
line-length = 84
target-version = ['py310']
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_defs = true
exclude = "(\\..*|_build|dist|fgsim/old|fgsim/geo/libs)"
ignore_missing_imports = true
no_implicit_reexport = true
python_version = 38
show_error_codes = true
strict_optional = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.ruff]
line-length = 85
exclude = [
"fgsim/old/*",
".tox",
"docs",
"__pycache__",
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
ignore = ["E501"]
target-version = "py310"
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]