diff --git a/CHANGELOG.md b/CHANGELOG.md index 83d7046..a872dc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - improve prompt for project name - switch from poetry to pdm +- switch order of black and ruff linter, as ruff often complains about issues, that are automatically fixed by black ### Deprecated diff --git a/mex-{{ cookiecutter.project_name }}/.pre-commit-config.yaml b/mex-{{ cookiecutter.project_name }}/.pre-commit-config.yaml index ed2b9a4..33727bf 100644 --- a/mex-{{ cookiecutter.project_name }}/.pre-commit-config.yaml +++ b/mex-{{ cookiecutter.project_name }}/.pre-commit-config.yaml @@ -2,15 +2,15 @@ fail_fast: false default_language_version: python: python3.11 repos: + - repo: https://github.com/psf/black + rev: 24.3.0 + hooks: + - id: black - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.3.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - - repo: https://github.com/psf/black - rev: 24.3.0 - hooks: - - id: black - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: