diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1fc4e72..c19019d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,14 +16,12 @@ repos: - id: isort additional_dependencies: [toml] -- repo: https://github.com/psf/black - rev: 23.3.0 +- repo: https://github.com/charliermarsh/ruff-pre-commit + # Ruff version. + rev: "v0.2.2" hooks: - - id: black - -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 - hooks: - - id: flake8 - args: ['--config', '.flake8'] - exclude: '.*/migrations/.*|conf' + # Run the linter. + - id: ruff + args: [ --fix ] + # Run the formatter. + - id: ruff-format diff --git a/CHANGES b/CHANGES index 3a57055..6d27147 100644 --- a/CHANGES +++ b/CHANGES @@ -1,8 +1,8 @@ Version History =============== -Version 0.10.1 (unreleased) ---------------------------- +Version 0.10.1 +-------------- * Remamed the zh_hans locale to zh_Hans (issue #282, thanks @sunfkny) * Fixed the test configuration following #282 * Improve CSP support by avoiding inline styles and server-side rendered stylesheets (#287, thank you @bmihelac)