Spaces:
Configuration error
Configuration error
Delete .pre-commit-config.yaml
#1
by
Seraph19
- opened
- .pre-commit-config.yaml +0 -83
.pre-commit-config.yaml
DELETED
@@ -1,83 +0,0 @@
|
|
1 |
-
# Make sure that the additional_dependencies here match pyproject.toml
|
2 |
-
|
3 |
-
ci:
|
4 |
-
autofix_prs: false
|
5 |
-
autoupdate_schedule: quarterly
|
6 |
-
autoupdate_commit_msg: 'Bump `pre-commit` Hooks to Latest Versions'
|
7 |
-
|
8 |
-
repos:
|
9 |
-
- repo: https://github.com/astral-sh/ruff-pre-commit
|
10 |
-
rev: 'v0.5.6'
|
11 |
-
hooks:
|
12 |
-
- id: ruff
|
13 |
-
name: ruff
|
14 |
-
additional_dependencies:
|
15 |
-
- httpx~=0.27
|
16 |
-
- tornado~=6.4
|
17 |
-
- APScheduler~=3.10.4
|
18 |
-
- cachetools>=5.3.3,<5.5.0
|
19 |
-
- aiolimiter~=1.1.0
|
20 |
-
- repo: https://github.com/psf/black-pre-commit-mirror
|
21 |
-
rev: 24.4.2
|
22 |
-
hooks:
|
23 |
-
- id: black
|
24 |
-
args:
|
25 |
-
- --diff
|
26 |
-
- --check
|
27 |
-
- repo: https://github.com/PyCQA/flake8
|
28 |
-
rev: 7.1.0
|
29 |
-
hooks:
|
30 |
-
- id: flake8
|
31 |
-
- repo: https://github.com/PyCQA/pylint
|
32 |
-
rev: v3.2.4
|
33 |
-
hooks:
|
34 |
-
- id: pylint
|
35 |
-
files: ^(?!(tests|docs)).*\.py$
|
36 |
-
additional_dependencies:
|
37 |
-
- httpx~=0.27
|
38 |
-
- tornado~=6.4
|
39 |
-
- APScheduler~=3.10.4
|
40 |
-
- cachetools>=5.3.3,<5.5.0
|
41 |
-
- aiolimiter~=1.1.0
|
42 |
-
- . # this basically does `pip install -e .`
|
43 |
-
- repo: https://github.com/pre-commit/mirrors-mypy
|
44 |
-
rev: v1.10.1
|
45 |
-
hooks:
|
46 |
-
- id: mypy
|
47 |
-
name: mypy-ptb
|
48 |
-
files: ^(?!(tests|examples|docs)).*\.py$
|
49 |
-
additional_dependencies:
|
50 |
-
- types-pytz
|
51 |
-
- types-cryptography
|
52 |
-
- types-cachetools
|
53 |
-
- httpx~=0.27
|
54 |
-
- tornado~=6.4
|
55 |
-
- APScheduler~=3.10.4
|
56 |
-
- cachetools>=5.3.3,<5.5.0
|
57 |
-
- aiolimiter~=1.1.0
|
58 |
-
- . # this basically does `pip install -e .`
|
59 |
-
- id: mypy
|
60 |
-
name: mypy-examples
|
61 |
-
files: ^examples/.*\.py$
|
62 |
-
args:
|
63 |
-
- --no-strict-optional
|
64 |
-
- --follow-imports=silent
|
65 |
-
additional_dependencies:
|
66 |
-
- tornado~=6.4
|
67 |
-
- APScheduler~=3.10.4
|
68 |
-
- cachetools>=5.3.3,<5.5.0
|
69 |
-
- . # this basically does `pip install -e .`
|
70 |
-
- repo: https://github.com/asottile/pyupgrade
|
71 |
-
rev: v3.16.0
|
72 |
-
hooks:
|
73 |
-
- id: pyupgrade
|
74 |
-
args:
|
75 |
-
- --py38-plus
|
76 |
-
- repo: https://github.com/pycqa/isort
|
77 |
-
rev: 5.13.2
|
78 |
-
hooks:
|
79 |
-
- id: isort
|
80 |
-
name: isort
|
81 |
-
args:
|
82 |
-
- --diff
|
83 |
-
- --check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|