From 028028fbfd4029aa6390e8ac580961df2dd6b8d1 Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Thu, 28 Sep 2023 18:09:10 +0200 Subject: [PATCH] precommit: enable codespell (#291) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 5 +++++ CHANGES.md | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33bf9ae..ef53714 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,6 +4,11 @@ repos: hooks: - id: end-of-file-fixer - id: trailing-whitespace + - repo: https://github.com/codespell-project/codespell + rev: v2.2.5 + hooks: + - id: codespell + #args: ["--write-changes"] # uncomment if you want to get automatic fixing - repo: https://github.com/myint/docformatter rev: v1.7.5 hooks: diff --git a/CHANGES.md b/CHANGES.md index 1871745..d3b21b6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -79,13 +79,13 @@ > - Dropped support for python [3.3]{.title-ref} and added support for python [3.7]{.title-ref} and [3.8]{.title-ref} - Another problem with older version was that tests setup was convoluted and involved loading packages pickled from one - env into the current env (in which tests are run). Moreover there was no separation between unit tests and integration - tests (flaky) + env into the current env (in which tests are run). Moreover, there was no separation between unit tests and + integration tests (flaky) > - Tests have been separated into 2 suites (1) unit tests that totally rely on mock objects and run on every commit ( > travis.ci) and (2) end-to-end tests that need to be run manually. - > - The test setup for end-to-end tests has been greatly simplified although the \"flakyness\"\" still remains because - > these tests are run against unpinned versions of [pip]{.title-ref}. However this is by design because we want to + > - The test setup for end-to-end tests has been greatly simplified although the \"flakiness\" still remains because + > these tests are run against unpinned versions of [pip]{.title-ref}. However, this is by design because we want to > know when [pipdeptree]{.title-ref} fails with a new version of [pip]{.title-ref}. - Move continuous integration from Travis to Github Actions.