Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Ruslan Senatorov <55090151+ruslansenatorov@users.noreply.github.com>
  • Loading branch information
ruslansenatorov committed Jun 5, 2024
1 parent 1ab6567 commit d1a1a54
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ repos:
rev: v1.7.5
hooks:
- id: docformatter
args: [
--in-place,
--wrap-descriptions=79,
--style=google,
]
args: [--in-place, --wrap-descriptions=79, --style=google]
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
Expand Down Expand Up @@ -85,7 +81,9 @@ repos:
rev: 1.8.5
hooks:
- id: nbqa-flake8
args: ["--ignore=E501,E712,W291,F632,E203"]
args:
- --ignore=E501,E712,W291,F632,E203
- --exclude=.*
name: nbqa-flake8
description: Run 'flake8' on a Jupyter Notebook
entry: nbqa flake8
Expand All @@ -101,7 +99,9 @@ repos:
rev: 7.0.0
hooks:
- id: flake8
args: ["--ignore=E501,E712,W291,F632,E203"]
args:
- --ignore=E501,E712,W291,F632,E203
- --exclude=.*
additional_dependencies:
- flake8-variables-names
- pep8-naming
Expand All @@ -127,9 +127,8 @@ repos:
- types-setuptools

args:
- --cache-dir=/dev/null
- --cache-dir=nul
- --no-incremental
- --non-interactive
- --install-types
- --explicit-package-bases
- --ignore-missing-imports
- --disallow-untyped-calls
Expand All @@ -154,9 +153,8 @@ repos:
hooks:
- id: mypy
args:
- --cache-dir=/dev/null
- --cache-dir=nul
- --no-incremental
- --non-interactive
- --install-types
- --explicit-package-bases
- --ignore-missing-imports
- --disallow-untyped-calls
Expand All @@ -175,7 +173,6 @@ repos:
- --warn-return-any



additional_dependencies:
- mypy
- pandas-stubs
Expand All @@ -197,11 +194,10 @@ repos:
types_or: [jupyter, markdown]
additional_dependencies: [pylint]
args:
[
"--max-line-length=79",
"--const-naming-style=any",
"--disable=E0401,W0104,R0903",
]
- --ignore=no_check*,
- --max-line-length=79
- --const-naming-style=any
- --disable=E0401,W0104,R0903

- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.3.1
Expand All @@ -212,7 +208,12 @@ repos:
language: python
types: [python]
args:
[--max-line-length=79, "--const-naming-style=any", "--disable=E0401,W0104,R0903"]
[
"--ignore=no_check*",
"--max-line-length=79",
"--const-naming-style=any",
"--disable=E0401,W0104,R0903",
]
additional_dependencies: [pylint]

- repo: https://github.com/nbQA-dev/nbQA
Expand Down

0 comments on commit d1a1a54

Please sign in to comment.