-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
68 lines (55 loc) · 1.06 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
[tool.poetry]
name = "git-limiter"
version = "0.1.1"
description = "Tool allowing to prevent commiting huge diffs"
authors = ["Sergei Konik <[email protected]>"]
packages = [{include = "git_limiter"}]
[tool.poetry.dependencies]
python = "^3.8"
click = "^8.1.3"
rich = "^13.3.3"
tomli = "^2.0.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
black = "^23.3.0"
isort = "^5.12.0"
autoflake = "^2.0.2"
mkdocs-material = "^9.1.6"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ['py38']
exclude = '''
(
\.eggs
|\.git
|\.hg
|\.mypy_cache
|\.nox
|\.tox
|\.venv
|\.pyc
|\.pyi
|_build
|buck-out
|build
|dist
)
'''
[tool.isort]
line_length = 100
sections = ["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
multi_line_output = 3
profile = "black"
src_paths = "."
lines_after_imports = 2
[tool.pytest.ini_options]
markers = [
"integration",
"unit",
]
[tool.poetry.scripts]
git-limiter = 'git_limiter.cli:run'