From cb30fd8744ca902fca596e214f7366a55aa52078 Mon Sep 17 00:00:00 2001 From: Ryan Snodgrass Date: Tue, 21 May 2024 10:55:53 -0400 Subject: [PATCH] update --- .gitignore | 3 +++ .pre-commit-config.yaml | 13 +++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 3719f9c..ce172c3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ build __pycache__ .mypy_cache *.swp +pypi.key +poetry.lock +.idea diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 66c2b4f..b01bc78 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,12 +11,6 @@ repos: - id: end-of-file-fixer - id: requirements-txt-fixer - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 - hooks: - - id: ruff - args: [ --fix ] # run linter - - id: ruff-format # run formatter # pycln - formatter for finding and removing unused import statements #- repo: https://github.com/hadialqattan/pycln @@ -25,6 +19,13 @@ repos: # - id: pycln # args: [--config=pyproject.toml] + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.4.4 + hooks: + - id: ruff + args: [ --fix ] # run linter + - id: ruff-format # run formatter + # isort - sort import statements - repo: https://github.com/pycqa/isort rev: 5.13.2