/
pyproject.toml
42 lines (34 loc) · 976 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
33
34
35
36
37
38
39
40
41
42
[project]
name = "TorchFix"
requires-python = ">=3.9"
description = "TorchFix - a linter for PyTorch-using code with autofix support"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python"
]
dynamic = ["version"]
dependencies = ["flake8>=3.8.2", "PyYAML", "libcst>=1.1.0,<1.2.0"]
[project.urls]
Repository = "https://github.com/pytorch-labs/torchfix"
"Bug Tracker" = "https://github.com/pytorch-labs/torchfix/issues"
[project.scripts]
torchfix = "torchfix.__main__:main"
[project.entry-points]
"flake8.extension" = {TOR = "torchfix.torchfix:TorchChecker"}
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
pythonpath = [
"."
]
[tool.black]
exclude = "tests/fixtures/*"
[tool.setuptools.package-data]
"*" = ["*.yaml"]
[tool.mypy]
exclude = ["tests/fixtures", "build"]
check_untyped_defs = true
[tool.setuptools.dynamic]
version = {attr = "torchfix.torchfix.__version__"}