Skip to content

Commit

Permalink
Remove black, flake8, isort and prettier now that ruff is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
anschweitzer committed Aug 7, 2024
1 parent 376ef95 commit 66d352c
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 309 deletions.
2 changes: 0 additions & 2 deletions .darglint

This file was deleted.

9 changes: 0 additions & 9 deletions .flake8

This file was deleted.

30 changes: 0 additions & 30 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
repos:
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
types: [python]
require_serial: true
- id: check-added-large-files
name: Check for added large files
entry: check-added-large-files
Expand All @@ -21,32 +15,12 @@ repos:
entry: check-yaml
language: system
types: [yaml]
# - id: darglint
# name: darglint
# entry: darglint
# language: system
# types: [python]
# stages: [manual]
- id: end-of-file-fixer
name: Fix End of Files
entry: end-of-file-fixer
language: system
types: [text]
stages: [commit, push, manual]
- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
require_serial: true
# args: [--darglint-ignore-regex, .*]
- id: isort
name: isort
entry: isort
require_serial: true
language: system
types_or: [cython, pyi, python]
args: ["--filter-files"]
- id: pyupgrade
name: pyupgrade
description: Automatically upgrade syntax for newer versions.
Expand All @@ -60,10 +34,6 @@ repos:
language: system
types: [text]
stages: [commit, push, manual]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.0
hooks:
- id: prettier
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.6
Expand Down
8 changes: 0 additions & 8 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,7 @@ def precommit(session: Session) -> None:
"--show-diff-on-failure",
]
session.install(
"black",
# "darglint",
"ruff",
"flake8",
"flake8-bandit",
"flake8-bugbear",
"flake8-docstrings",
"flake8-rst-docstrings",
"isort",
"pep8-naming",
"pre-commit",
"pre-commit-hooks",
Expand Down
Loading

0 comments on commit 66d352c

Please sign in to comment.