Spaces:
Running
Running
Roman Solomatin
commited on
Commit
•
420bb64
1
Parent(s):
840e015
update
Browse files- .pre-commit-config.yaml +3 -16
- pyproject.toml +0 -7
.pre-commit-config.yaml
CHANGED
@@ -22,7 +22,7 @@ ci:
|
|
22 |
|
23 |
repos:
|
24 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
25 |
-
rev: v4.
|
26 |
hooks:
|
27 |
- id: check-yaml
|
28 |
- id: check-case-conflict
|
@@ -33,21 +33,8 @@ repos:
|
|
33 |
- id: end-of-file-fixer
|
34 |
- id: trailing-whitespace
|
35 |
|
36 |
-
- repo: https://github.com/PyCQA/isort
|
37 |
-
rev: 5.12.0
|
38 |
-
hooks:
|
39 |
-
- id: isort
|
40 |
-
name: Format imports
|
41 |
-
|
42 |
-
# - repo: https://github.com/psf/black
|
43 |
-
# rev: 22.12.0
|
44 |
-
# hooks:
|
45 |
-
# - id: black
|
46 |
-
# name: Format code
|
47 |
-
# additional_dependencies: ['click==8.0.2']
|
48 |
-
|
49 |
- repo: https://github.com/astral-sh/ruff-pre-commit
|
50 |
-
rev: v0.4.
|
51 |
hooks:
|
52 |
- id: ruff
|
53 |
types_or: [ python, pyi, jupyter ]
|
@@ -62,7 +49,7 @@ repos:
|
|
62 |
args: [ --config, pyproject.toml ]
|
63 |
|
64 |
- repo: https://github.com/pdm-project/pdm
|
65 |
-
rev: 2.15.
|
66 |
hooks:
|
67 |
- id: pdm-export
|
68 |
args: [ '-o', 'requirements.txt']
|
|
|
22 |
|
23 |
repos:
|
24 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
25 |
+
rev: v4.6.0
|
26 |
hooks:
|
27 |
- id: check-yaml
|
28 |
- id: check-case-conflict
|
|
|
33 |
- id: end-of-file-fixer
|
34 |
- id: trailing-whitespace
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
- repo: https://github.com/astral-sh/ruff-pre-commit
|
37 |
+
rev: v0.4.8
|
38 |
hooks:
|
39 |
- id: ruff
|
40 |
types_or: [ python, pyi, jupyter ]
|
|
|
49 |
args: [ --config, pyproject.toml ]
|
50 |
|
51 |
- repo: https://github.com/pdm-project/pdm
|
52 |
+
rev: 2.15.4
|
53 |
hooks:
|
54 |
- id: pdm-export
|
55 |
args: [ '-o', 'requirements.txt']
|
pyproject.toml
CHANGED
@@ -7,9 +7,7 @@ authors = [
|
|
7 |
]
|
8 |
dependencies = [
|
9 |
"APScheduler>=3.10.4",
|
10 |
-
# "black",
|
11 |
"click>=8.1.7",
|
12 |
-
# "datasets",
|
13 |
"gradio>=4.36.1",
|
14 |
"gradio-client>=1.0.1",
|
15 |
"huggingface-hub>=0.18.0",
|
@@ -19,11 +17,6 @@ dependencies = [
|
|
19 |
"python-dateutil>=2.9.0.post0",
|
20 |
"requests>=2.32.3",
|
21 |
"tqdm>=4.66.4",
|
22 |
-
# "transformers",
|
23 |
-
# "tokenizers>=0.15.0",
|
24 |
-
# "lm-eval @ git+https://github.com/EleutherAI/lm-evaluation-harness.git@b281b0921b636bc36ad05c0b0b0763bd6dd43463",
|
25 |
-
# "accelerate",
|
26 |
-
# "sentencepiece",
|
27 |
"pyarrow>=16.1.0",
|
28 |
"pydantic-settings>=2.3.3",
|
29 |
"markdown>=3.6",
|
|
|
7 |
]
|
8 |
dependencies = [
|
9 |
"APScheduler>=3.10.4",
|
|
|
10 |
"click>=8.1.7",
|
|
|
11 |
"gradio>=4.36.1",
|
12 |
"gradio-client>=1.0.1",
|
13 |
"huggingface-hub>=0.18.0",
|
|
|
17 |
"python-dateutil>=2.9.0.post0",
|
18 |
"requests>=2.32.3",
|
19 |
"tqdm>=4.66.4",
|
|
|
|
|
|
|
|
|
|
|
20 |
"pyarrow>=16.1.0",
|
21 |
"pydantic-settings>=2.3.3",
|
22 |
"markdown>=3.6",
|