-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (77 loc) · 2.15 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (77 loc) · 2.15 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
[build-system]
requires = ["setuptools>=64.0.0", "wheel", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "larndsim"
description = "Simulation framework for the DUNE LArND"
authors = [
{ name = "DUNE collaboration" }
]
maintainers = [
{ name = "Jaafar Chakrani" },
{ name = "Yifan Chen" },
{ name = "Matt Kramer" },
{ name = "Kevin Wood" },
]
readme = "README.md"
requires-python = ">=3.7"
license = "Apache-2.0"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Physics"
]
dynamic = ["dependencies", "optional-dependencies", "version"]
[project.urls]
Homepage = "https://github.com/DUNE/larnd-sim"
Repository = "https://github.com/DUNE/larnd-sim"
[tool.setuptools]
include-package-data = true
script-files = ["cli/diff_files.py", "cli/lar_runner.py", "cli/simulate_pixels.py",
"cli/dumpTree.py", "cli/list_config_keys.py", "cli/sort_packets.py"]
[tool.setuptools.packages]
find = {} # Auto discovers/finds all the packages within larnd-sim
[tool.setuptools.package-data]
larndsim = [
"config/*.yaml",
"simulation_properties/*.yaml",
"pixel_layouts/*.yaml",
"detector_properties/*.yaml",
"detector_properties/*.json",
"bin/*.npy",
"bin/*.npz",
]
[tool.setuptools_scm]
version_scheme = "no-guess-dev"
version_file = "larndsim/_version.py"
version_file_template = """# Auto-generated by setuptools_scm
__version__ = '{version}'
__version_tuple__ = {version_tuple}
# Git information
GIT_COMMIT = '{scm_version.node}'
GIT_BRANCH = '{scm_version.branch}'
GIT_DISTANCE = {scm_version.distance}
GIT_DIRTY = {scm_version.dirty}
GIT_TAG = '{scm_version.tag}'
"""
[tool.ruff]
line-length = 100
indent-width = 4
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
]
ignore = ["E501"]
[tool.mypy]
disable_error_code = ["import-untyped"]