Vladyslav Moroshan
commited on
Commit
·
99d8a1e
1
Parent(s):
a56f217
Add huggingface_hub to dependencies
Browse files- pyproject.toml +31 -0
pyproject.toml
CHANGED
|
@@ -24,6 +24,7 @@ dependencies = [
|
|
| 24 |
"notebook",
|
| 25 |
"datasets",
|
| 26 |
"ujson",
|
|
|
|
| 27 |
]
|
| 28 |
|
| 29 |
classifiers = [
|
|
@@ -61,3 +62,33 @@ requires = ["setuptools>=68.2.2", "wheel>=0.41.2"]
|
|
| 61 |
build-backend = "setuptools.build_meta"
|
| 62 |
|
| 63 |
package-dir = {"" = "src"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"notebook",
|
| 25 |
"datasets",
|
| 26 |
"ujson",
|
| 27 |
+
"huggingface_hub",
|
| 28 |
]
|
| 29 |
|
| 30 |
classifiers = [
|
|
|
|
| 62 |
build-backend = "setuptools.build_meta"
|
| 63 |
|
| 64 |
package-dir = {"" = "src"}
|
| 65 |
+
|
| 66 |
+
[tool.ruff]
|
| 67 |
+
line-length = 88
|
| 68 |
+
|
| 69 |
+
# Set the minimum Python version to target.
|
| 70 |
+
target-version = "py312"
|
| 71 |
+
|
| 72 |
+
# Define the source directories. This matches your project structure.
|
| 73 |
+
src = ["src"]
|
| 74 |
+
|
| 75 |
+
[tool.ruff.lint]
|
| 76 |
+
# Select the rules to enable. This is a great starting set.
|
| 77 |
+
# E = pycodestyle errors
|
| 78 |
+
# F = Pyflakes (e.g., unused imports, undefined names)
|
| 79 |
+
# I = isort (import sorting)
|
| 80 |
+
# UP = pyupgrade (modernize Python syntax)
|
| 81 |
+
# B = flake8-bugbear (common bugs and bad practices)
|
| 82 |
+
# C4 = flake8-comprehensions (more efficient comprehensions)
|
| 83 |
+
select = ["E", "F", "I", "UP", "B", "C4"]
|
| 84 |
+
|
| 85 |
+
# You can ignore specific rules here. For example, if you
|
| 86 |
+
# don't want to enforce docstrings, uncomment the line below:
|
| 87 |
+
# ignore = ["D100", "D101", "D102", "D103"]
|
| 88 |
+
|
| 89 |
+
[tool.ruff.format]
|
| 90 |
+
# Use "black-compatible" formatting.
|
| 91 |
+
quote-style = "double"
|
| 92 |
+
indent-style = "space"
|
| 93 |
+
skip-magic-trailing-comma = false
|
| 94 |
+
line-ending = "auto"
|