Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofix committed Sep 17, 2024
1 parent 0117309 commit 1d697f4
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 53 deletions.
80 changes: 40 additions & 40 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
# repos:
# - repo: https://github.com/pre-commit/pre-commit-hooks
# rev: v4.6.0
# hooks:
# - id: trailing-whitespace
# args: [--markdown-linebreak-ext=md]
# - id: end-of-file-fixer
# - id: check-toml
# - id: check-added-large-files
# args: ['--maxkb=1024']
# - id: check-case-conflict
# - id: mixed-line-ending
# - repo: https://github.com/pycqa/isort
# rev: 5.13.2
# hooks:
# - id: isort
# args: ["--profile", "black", "--filter-files"]
# - repo: https://github.com/psf/black
# rev: 24.8.0
# hooks:
# - id: black
# - repo: https://github.com/asottile/pyupgrade
# rev: v3.17.0
# hooks:
# - id: pyupgrade
# args: [--py311-plus]
# - repo: https://github.com/hhatto/autopep8
# rev: v2.3.1
# hooks:
# - id: autopep8
# - repo: https://github.com/PyCQA/flake8
# rev: "7.1.1"
# hooks:
# - id: flake8
# additional_dependencies:
# - flake8-comprehensions
# - flake8-bugbear
# - flake8-polyfill
# - toml
# exclude: docs\/.*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-toml
- id: check-added-large-files
args: ['--maxkb=1024']
- id: check-case-conflict
- id: mixed-line-ending
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py311-plus]
- repo: https://github.com/hhatto/autopep8
rev: v2.3.1
hooks:
- id: autopep8
- repo: https://github.com/PyCQA/flake8
rev: "7.1.1"
hooks:
- id: flake8
additional_dependencies:
- flake8-comprehensions
- flake8-bugbear
- flake8-polyfill
- toml
exclude: docs\/.*
13 changes: 0 additions & 13 deletions tests/test_models.py

This file was deleted.

0 comments on commit 1d697f4

Please sign in to comment.