Files
proxy-scraper-checker/.pre-commit-config.yaml
T

51 lines
1.4 KiB
YAML
Raw Normal View History

2023-02-25 19:31:34 +03:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
2023-02-25 19:31:34 +03:00
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
2023-02-25 19:31:34 +03:00
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: destroyed-symlinks
- id: end-of-file-fixer
2023-04-17 22:48:24 +03:00
- id: fix-byte-order-marker
2023-02-25 19:31:34 +03:00
- id: mixed-line-ending
2023-05-01 18:39:09 +03:00
args:
- --fix=lf
2023-02-25 19:31:34 +03:00
- id: trailing-whitespace
2024-10-22 21:19:21 +03:00
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.4.2
2023-02-25 19:31:34 +03:00
hooks:
- id: prettier
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.8.4
2023-02-25 19:31:34 +03:00
hooks:
- id: ruff
2023-05-01 18:39:09 +03:00
args:
- --fix
2023-10-25 09:42:02 +03:00
- id: ruff-format
2023-02-25 19:31:34 +03:00
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
2023-02-25 19:31:34 +03:00
hooks:
- id: mypy
2023-05-01 18:39:09 +03:00
args:
- --scripts-are-modules
2023-02-25 19:31:34 +03:00
additional_dependencies:
2024-10-23 09:40:07 +03:00
- orjson
2023-04-20 10:43:56 +03:00
- aiohttp<4
2024-01-21 17:45:01 +00:00
- attrs
- certifi
- charset-normalizer<4
- maxminddb<3
- platformdirs<5
2023-04-20 10:43:56 +03:00
- rich<14
2024-02-08 20:48:43 +03:00
- tomli<3
2024-01-21 17:45:01 +00:00
- types-aiofiles
2024-02-08 12:02:51 +03:00
- typing-extensions<5
2024-10-17 14:28:44 +03:00
- uvloop<0.22; implementation_name=='cpython' and (sys_platform=='darwin' or sys_platform=='linux')
2024-10-04 09:38:44 +03:00
- winloop<0.1.7; implementation_name=='cpython' and (sys_platform=='cygwin' or sys_platform=='win32')