-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (74 loc) · 1.47 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (74 loc) · 1.47 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
[project]
authors = [
{ name = "Chris Gregory", email = "christopher.b.gregory@gmail.com" },
]
dependencies = ["numpy>=2.3.0", "rich>=14.0.0", "typer>=0.16.0"]
description = "Artificial genetics simulation."
keywords = ["artificial", "genetics", "simulation"]
name = "typogenetics"
readme = "README.md"
requires-python = ">=3.12"
version = "0.1.0"
[tool.uv]
dev-dependencies = [
"mypy>=1.16.0",
"pytest>=8.4.0",
"ruff>=0.11.13",
"semver>=3.0.4",
]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project.urls]
repository = "https://github.com/gregorybchris/typogenetics"
[project.scripts]
typo = "typogenetics.cli:app"
[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 120
src = ["src"]
[tool.ruff.lint]
ignore = ["D100", "D104", "FIX002", "TD002", "TD003"]
select = [
"A",
"ARG",
"B",
"BLE",
"C4",
"E",
"EM",
"ERA",
"F",
"FIX",
"G",
"I",
"ICN",
"ISC",
"LOG",
"N",
"PL",
"PT",
"PTH",
"PLR",
"RET",
"RUF",
"SIM",
"SLF",
"T20",
"TCH",
"TD",
"TID",
"W",
]
[tool.ruff.lint.pycodestyle]
max-line-length = 120
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.extend-per-file-ignores]
"**/*.py" = ["A001", "A002"]
"**/tests/**/*.py" = ["SLF", "PLR2004", "PLR6301"]
"src/typogenetics/cli.py" = ["T201", "T203"]