-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (50 loc) · 1.41 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
[tool.poetry]
name = "tab_err"
version = "0.1.1"
description = "Fully-controllable error generation for tabular data."
authors = [
"Philipp Jung <philippjung@posteo.de>",
"Sebastian Jäger <tab_err@sebastian-jaeger.me>",
]
license = "Apache License 2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9,<3.13"
pandas = "^2.2.3"
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.1"
pre-commit = "^4.0.1"
mypy = "^1.13.0"
jupyterlab = "^4.3.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.9"
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 160
target-version = "py39"
fix = true
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = [
"ALL", # Include all the rules, including new ones
]
ignore = [
"FIX", # Temporary developer notes should not break actions
"COM812", # For compatibility with ruff-format
"ISC001", # For compatibility with ruff-format
"S311", # We do not require cryptographically-sound randomness
"D100", # Do not document public modules
"D104", # Do not document public packages
"TD003", # Allow TODOs without links
"ISC003", # Do not implicietly concatenate strings
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = [
"F401", # Unused imports in __init__ files can make sense
]
[tool.ruff.lint.pydocstyle]
convention = "google"