forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
32 lines (27 loc) · 813 Bytes
/
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
# Local pre-commit hook config
[project]
name = "sonic-mgmt-pre-commit-hooks"
version = "1.0.1+pre_commit"
description = "Some hooks for pre-commit in sonic-mgmt repo."
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
requires-python = ">=3.7"
dependencies = ["tomli>=2.0.1;python_version<'4.0'"]
[project.urls]
Homepage = "https://github.com/sonic-net/sonic-mgmt"
[tool.setuptools]
package-dir = {"" = ".hooks"}
[tool.setuptools.packages.find]
where = [".hooks"]
[project.scripts]
check-conditional-mark-sort = 'pre_commit_hooks.check_conditional_mark_sort:main'
[tool.black]
exclude = '''
/(
spytest/
)/
'''