Skip to content

Commit

Permalink
Reverted .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Oct 13, 2024
1 parent bbe35c6 commit cd102fb
Showing 1 changed file with 66 additions and 66 deletions.
132 changes: 66 additions & 66 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,77 +18,77 @@ ci:

# hooks
repos:
# - repo: https://github.com/pre-commit/pre-commit-hooks
# rev: v5.0.0
# hooks:
# - id: end-of-file-fixer
# exclude: ^.*\.(svg)$
# - id: debug-statements
# - id: check-yaml
# name: Check YAML
# - id: check-toml
# name: Check TOML
# - id: trailing-whitespace
# args: [--markdown-linebreak-ext=md]
#
# - repo: https://github.com/PyCQA/isort
# rev: 5.13.2
# hooks:
# - id: isort
# args:
# - --profile=black
# - --filter-files
# - --skip-gitignore
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
exclude: ^.*\.(svg)$
- id: debug-statements
- id: check-yaml
name: Check YAML
- id: check-toml
name: Check TOML
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args:
- --profile=black
- --filter-files
- --skip-gitignore

- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
args: [--line-length=79]

# - repo: https://github.com/PyCQA/bandit
# rev: 1.7.10
# hooks:
# - id: bandit
# args: ["-r"]
# files: ^tripper/.*$
#
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.11.2
# hooks:
# - id: mypy
# exclude: ^tests/.*$
# additional_dependencies:
# - "types-requests"
# - "pydantic"
#
# - repo: https://github.com/SINTEF/ci-cd
# rev: v2.8.2
# hooks:
# - id: docs-api-reference
# args:
# - --package-dir=tripper
# - id: docs-landing-page
- repo: https://github.com/PyCQA/bandit
rev: 1.7.10
hooks:
- id: bandit
args: ["-r"]
files: ^tripper/.*$

# - repo: local
# hooks:
# - id: pylint
# name: pylint
# entry: pylint
# args:
# - --rcfile=pyproject.toml
# language: python
# types: [python]
# require_serial: true
# files: ^.*$
# exclude: ^tests/.*$
# - id: pylint-tests
# name: pylint - tests
# entry: pylint
# args:
# - "--rcfile=pyproject.toml"
# - "--disable=import-outside-toplevel,redefined-outer-name"
# language: python
# types: [python]
# require_serial: true
# files: ^tests/.*$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
hooks:
- id: mypy
exclude: ^tests/.*$
additional_dependencies:
- "types-requests"
- "pydantic"

- repo: https://github.com/SINTEF/ci-cd
rev: v2.8.2
hooks:
- id: docs-api-reference
args:
- --package-dir=tripper
- id: docs-landing-page

- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
args:
- --rcfile=pyproject.toml
language: python
types: [python]
require_serial: true
files: ^.*$
exclude: ^tests/.*$
- id: pylint-tests
name: pylint - tests
entry: pylint
args:
- "--rcfile=pyproject.toml"
- "--disable=import-outside-toplevel,redefined-outer-name"
language: python
types: [python]
require_serial: true
files: ^tests/.*$

0 comments on commit cd102fb

Please sign in to comment.