-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
120 lines (106 loc) · 3.34 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "WallGo"
dynamic = ["version"]
authors = [
{name = "Andreas Ekstedt", email = "andreas.ekstedt@physics.uu.se"},
{name = "Oliver Gould", email = "oliver.gould@nottingham.ac.uk"},
{name = "Joonas Hirvonen", email = "joonas.hirvonen@nottingham.ac.uk"},
{name = "Benoit Laurent", email = "benoit.laurent@mail.mcgill.ca"},
{name = "Lauri Niemi", email = "lauri.b.niemi@helsinki.fi"},
{name = "Philipp Schicho", email = "philipp.schicho@unige.ch"},
{name = "Jorinde van de Vis", email = "jorinde.van.de.vis@cern.ch"},
]
description = "A package for computing the bubble wall speed in cosmological phase transitions."
license = {text = "GPL v3.0"}
classifiers = [
# Audience and topic
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
# License
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
# Status
"Development Status :: 3 - Alpha",
# Python versions supported
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
dependencies = [
"findiff>=0.9.2",
"h5py>=3.8.0",
"numpy>=1.21.5",
"scipy>=1.9.0",
"deprecated>=1.2.14",
]
readme = "README.md"
[project.optional-dependencies]
tests = [
"pytest>=7.2.2",
]
docs = [
"graphviz",
"myst_parser",
"sphinx",
"sphinx-rtd-theme",
"sphinx-automodapi",
"sphinxcontrib-bibtex",
"WallGoCollision",
]
lint = [
"black",
"mypy",
"pylint",
]
[project.urls]
Homepage = "https://wallspeed.readthedocs.io/"
Repository = "https://github.com/Wall-Go/WallGo"
Issues = "https://github.com/Wall-Go/WallGo/issues"
Changelog = "https://github.com/Wall-Go/WallGo/blob/main/CHANGELOG.rst"
[tool.setuptools]
packages = [
"WallGo",
"WallGo.PotentialTools",
"WallGo.PotentialTools.Config",
"WallGo.PotentialTools.Data",
]
package-dir = {"" = "src"}
include-package-data = true
[tool.setuptools.package-data]
# specify data files relative to packages. These need to be located inside the package. Including files from outside packages is apparently deprecated
"WallGo.PotentialTools" = ["Config/*.ini", "Data/*.txt"]
[tool.setuptools_scm]
[tool.black]
line-length = 88
target-version = ['py310']
[tool.pylint.main]
max-line-length = 88
indent-string = " "
[tool.pylint.basic]
# naming styles: PEP8 except camelCase instead of snake_case
argument-rgx='^[a-z][a-zA-Z0-9]*$|^T[a-zA-Z0-9]*$'
attr-rgx = '^[_a-z][a-zA-Z0-9]*$|^T[a-zA-Z0-9]*$'
class-naming-style = "PascalCase"
class-attribute-naming-style = "camelCase"
class-const-naming-style = "UPPER_CASE"
const-naming-style = "UPPER_CASE"
function-rgx='^[a-z][a-zA-Z0-9]*$|^T[a-zA-Z0-9]*$'
inlinevar-naming-style = "camelCase"
method-naming-style = "camelCase"
module-naming-style = "camelCase"
variable-rgx = '^[a-z][a-zA-Z0-9]*$|^T[a-zA-Z0-9]*$'
[tool.pylint."messages control"]
disable = ["raw-checker-failed",
"locally-disabled",
"file-ignored",
"suppressed-message",
"pointless-string-statement"]
[tool.mypy]
warn_return_any = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
disable_error_code = "import-untyped"