-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (70 loc) · 1.54 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
[tool.poetry]
name = "updown"
version = "0.0.1"
description = "Fast Monte Carlo simulation of the Ising model written in Python"
authors = ["Ryther Anderson"]
readme = "README.md"
repository = "https://github.com/rytheranderson/updown"
include = [
"README.md",
"pyproject.toml",
]
packages = [
{include = "updown"}
]
[tool.poetry.dependencies]
python = "^3.10"
numpy = "^1.26.4"
numba = ">=0.59.0rc1"
matplotlib = "^3.8.3"
nptyping = "^2.5.0"
[tool.poetry.group.dev.dependencies]
cruft = "^2.15.0"
hypothesis = "^6.111.1"
mypy = "^1.11.1"
pre-commit = "^3.8.0"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
ruff = "^0.5.0"
tbump = "^6.11.0"
toml = "^0.10.2"
tox = "^4.18.0"
tox-gh-actions = "^3.2.0"
[tool.ruff.lint]
# B = flake8-bugbear
# C9 = mccabe complexity
# E = pycodestyle error
# F = pyflakes
# N = pep8-naming
# PL = pylint
# Q = flake8-quotes
# RUF = ruf
# W = pycodestyle warning
select = ["B", "C9", "D", "E", "F", "N", "PL", "Q", "RUF", "W"]
ignore = ["N806"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.tbump.version]
current = "0.0.1"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "pyproject.toml"
search = 'current = "{current_version}"'
[[tool.tbump.file]]
src = "pyproject.toml"
search = 'version = "{current_version}"'
[[tool.tbump.file]]
src = "updown/__init__.py"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"