-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
52 lines (43 loc) · 1.03 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
[tool.poetry]
name = "pre-commit-buildifier"
version = "0.1.1"
description = "Pre-commit hook which downloads and runs bazel buildifier"
authors = [
"Bohdan Vanieiev <[email protected]>",
]
exclude = [
# ignore all tests
'tests',
'src/**/*_test.py',
'src/**/test_*.py',
]
[tool.poetry.dependencies]
python = ">=3.7, <4.0"
requests = "^2.31.0"
[tool.poetry.dev-dependencies]
black = "^22.6.0"
flake8 = "^4.0.1"
mypy = "^0.971"
pre-commit = "^2.20.0"
isort = "^5.10.1"
pyupgrade = "^2.37.3"
[tool.poetry.scripts]
pre-commit-buildifier = 'pre_commit_buildifier:main'
[tool.mypy]
python_version = "3.7"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.bandit]
exclude_dirs = [".venv", "tests", "**/*_test.py", "**/test_*.py"]
skips = ["B101"]
[tool.isort]
line_length = 88
profile = "black"
skip_gitignore = true
[tool.black]
line-length = 88
target_version = ['py37', 'py38', 'py39', 'py310', 'py311']
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"