-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (92 loc) · 2.02 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "filepack"
version = "0.1.0"
description = "A user-friendly interface for handling files, archives, and compressed files in Python"
requires-python=">=3.12.0"
authors = [
{ name = "Dan Manor", email = "[email protected]" }
]
keywords = ["file", "pack", "unpack", "archive", "compression", "compressor"]
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"py7zr>=0.20.6",
"tabulate==0.9.0",
"types-tabulate==0.9.0.3",
"pytz==2023.3.post1",
"types-pytz==2023.3.1.1",
"lz4==4.3.2",
"filetype==1.2.0",
"docopt==0.6.2",
"toml==0.10.2",
]
[project.urls]
"Repository" = "https://github.com/danmanor/filepack"
"Bug Tracker" = "https://github.com/danmanor/filepack/issues"
[project.optional-dependencies]
test-runner = [
"tox==4.11.3",
]
test = [
"pytest==7.4.2",
]
format = [
"black==23.9.1",
"isort==5.12.0",
]
types = [
"mypy==1.5.1",
]
lint = [
"flake8==6.1.0",
]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
show_error_codes = true
[tool.black]
line-length = 79
target-version = ['py312']
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 79
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
test
format
check-format
check-types
lint
[testenv:test]
usedevelop=True
commands=pytest tests
deps=.[test]
[testenv:format]
deps=.[format]
commands=
isort --profile black src/ tests/
black src/ tests/
[testenv:check-format]
deps=.[format]
commands=
isort --profile black --check-only --diff src/ tests/
black --diff --check src/ tests/
[testenv:check-types]
deps=.[types]
commands=mypy src/
[testenv:lint]
deps=.[lint]
commands=
flake8 src/
"""