mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 02:16:21 +00:00
Remove pre-commit hook
This commit is contained in:
1 parent
f1ac3faf0c
commit
6815c65816
2 files changed
-53
No files matched your search
@@ -1,52 +0,0 @@
|
||||
default_install_hook_types: [commit-msg, pre-commit]
|
||||
default_stages: [commit, manual]
|
||||
fail_fast: false
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: ruff
|
||||
name: ruff
|
||||
entry: poetry run ruff
|
||||
require_serial: true
|
||||
language: system
|
||||
types: [python]
|
||||
- id: ruff-nb
|
||||
name: ruff-nb
|
||||
entry: poetry run nbqa ruff .
|
||||
require_serial: true
|
||||
language: system
|
||||
pass_filenames: false
|
||||
types: [python]
|
||||
- id: black
|
||||
name: black
|
||||
entry: poetry run black
|
||||
require_serial: true
|
||||
language: system
|
||||
types: [python]
|
||||
- id: poetry-check
|
||||
name: poetry check
|
||||
entry: poetry check
|
||||
language: system
|
||||
files: pyproject.toml
|
||||
pass_filenames: false
|
||||
- id: poetry-lock-check
|
||||
name: poetry lock check
|
||||
entry: poetry check
|
||||
args: [--lock]
|
||||
language: system
|
||||
pass_filenames: false
|
||||
- id: mypy
|
||||
name: mypy
|
||||
entry: poetry run mypy src
|
||||
# filenames should not be passed as they would collide with the config in pyproject.toml
|
||||
pass_filenames: false
|
||||
files: '^src(/[^/]*)*/[^/]*\.py$'
|
||||
language: system
|
||||
- id: mypy-nb
|
||||
name: mypy-nb
|
||||
entry: poetry run nbqa mypy
|
||||
language: system
|
||||
@@ -45,7 +45,6 @@ dev = [
|
||||
# In version 1.0.4 we get a NoneType error related to some config conversion (yml_analytics is None and should be a list)
|
||||
"mypy>=1.4.1",
|
||||
"poethepoet>=0.20.0",
|
||||
"pre-commit>=3.3.3",
|
||||
"pytest>=8.0.2",
|
||||
"pytest-cov",
|
||||
"ruff>=0.0.285",
|
||||
|
||||
Reference in new issue
Block a user