generated from allenai/python-package-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
39 lines (34 loc) · 1.11 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "jafgen"
version = "0.4.14"
authors = [{ name = "gwenwindflower", email = "gwenwindflower@gmail.com" }]
dependencies = ["numpy", "Faker", "typer"]
description = "A synthetic data generator CLI for a fictional Jaffle Shop"
readme = "README.md"
license = { file = "LICENSE" }
[tool.setuptools.packages.find]
exclude = ["*.tests", "*.tests.*", "tests.*", "tests"]
[project.scripts]
jafgen = "jafgen.cli:app"
[project.optional-dependencies]
dev = ["ruff", "pytest"]
[tool.ruff.lint]
select = [
"E", # Pycodestyle
"F", # Pyflakes
"W", # Whitespace
"D", # Pydocs
"T20", # Print statements
"I", # isort
]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = [
"A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM",
"ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF",
"SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"
]
[tool.pydocstyle]
convention = "google"