Spaces:
Running
Running
Add pyproject.toml
Browse files- pyproject.toml +23 -0
pyproject.toml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
name = "vic"
|
| 3 |
+
version = "1.0.0"
|
| 4 |
+
description = "Vocabulary-free Image Classification"
|
| 5 |
+
readme = "README.md"
|
| 6 |
+
requires-python = ">=3.9,<3.11"
|
| 7 |
+
license = {file = "LICENCE"}
|
| 8 |
+
authors = [{name = "Alessandro Conti", email = "[email protected]"}]
|
| 9 |
+
classifiers = ["License :: OSI Approved :: MIT License"]
|
| 10 |
+
|
| 11 |
+
[tool.black]
|
| 12 |
+
line_length = 99
|
| 13 |
+
|
| 14 |
+
[tool.flake8]
|
| 15 |
+
count = true
|
| 16 |
+
ignore = ["E402"]
|
| 17 |
+
per-file-ignores = ["__init__.py:F401"]
|
| 18 |
+
exclude = ["data/*","logs/*"]
|
| 19 |
+
max-line-length = 99
|
| 20 |
+
|
| 21 |
+
[tool.isort]
|
| 22 |
+
profile = "black"
|
| 23 |
+
line_length = 99
|