From 57f2cb51c1f7863a544bec37fd3669ed836141eb Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 5 Jun 2024 00:34:49 +0200 Subject: [PATCH] fix: :green_heart: fix ci with ruff --- .gitea/workflows/divent.yml | 2 +- .gitignore | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/divent.yml b/.gitea/workflows/divent.yml index e02eb9f..1ee7549 100644 --- a/.gitea/workflows/divent.yml +++ b/.gitea/workflows/divent.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: Gr1N/setup-poetry@v9 - run: poetry install - - run: poetry run flake8 . + - run: poetry run ruff check . - run: poetry run mypy . - run: poetry run djlint . diff --git a/.gitignore b/.gitignore index 0154475..1f51344 100644 --- a/.gitignore +++ b/.gitignore @@ -107,8 +107,10 @@ ipython_config.py #pdm.lock # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it # in version control. -# https://pdm.fming.dev/#use-with-ide +# https://pdm.fming.dev/latest/usage/project/#working-with-version-control .pdm.toml +.pdm-python +.pdm-build/ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm __pypackages__/ @@ -158,4 +160,4 @@ cython_debug/ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. -.idea/ +#.idea/