-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (59 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
68 lines (59 loc) · 1.92 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
[tool.black]
line-length = 99
target-version = ['py39']
[tool.mypy]
exclude = ["tests", "setup.py"]
ignore_missing_imports = true
python_version = "3.9"
strict = true
disallow_untyped_calls = false
warn_return_any = false
[[tool.mypy.overrides]]
module = [
"tests.*"
]
ignore_errors = true
[tool.poetry]
name = "tinybear"
version = "0.3.1"
description = "Where you don't need pandas yet. Tools to work with TXT, CSV, HTML, XLSX etc."
documentation = "https://lemontree210.github.io/tinybear/"
authors = ["Dmitry K <58207913+lemontree210@users.noreply.github.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
beautifulsoup4 = "^4.13.5"
html5lib = "^1.1"
openpyxl = "^3.1.5"
pyyaml = "^6.0.2"
toml = "^0.10.2"
mammoth = "^1.10.0"
[tool.poetry.group.dev.dependencies]
black = "^25.1.0"
mypy = "^1.17.1"
ruff = "^0.12.7"
pre-commit = "^4.2.0"
pytest = "^8.4.1"
pytest-cov = "^6.2.1"
mkdocs = "^1.6.1"
mkdocs-material = "^9.6.18"
[tool.poetry.urls]
Homepage = "https://github.com/lemontree210/tinybear"
Documentation = "https://lemontree210.github.io/tinybear/"
[tool.ruff]
line-length = 99
exclude = ["tests"]
target-version = "py39"
[tool.ruff.lint]
# Ignore: A003 (class attribute `id`/`type` is shadowing a python builtin) because class attributes don't really shadow Python builtins
ignore = ["A003"]
per-file-ignores = {"__init__.py" = ["F401"]}
# Pyflakes and pycodestyle Error (included by default without explicit "select"),
# I = isort, N = pep8-naming, PL = pylint, UP = pyupgrade, ERA = eradicate
# A = flake8-builtins, C4 = flake8-comprehensions, DTZ = flake8-datetimez,
# ISC = flake8-implicit-str-concat, T20 = flake8-print, RET = flake8-return, SIM = flake8-simplify,
# ARG = flake8-unused-arguments, PTH = flake8-use-pathlib
select = ["E", "F", "I", "N", "PL", "UP", "ERA", "A", "C4", "DTZ", "ISC", "T20", "RET", "SIM", "ARG", "PTH"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"