diff --git a/ci/config.yaml b/ci/config.yaml index f4b06d0a7..87afd647e 100644 --- a/ci/config.yaml +++ b/ci/config.yaml @@ -1,5 +1,11 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/master/c2cciutils/schema.json +checks: + codespell: + ignore_re: + - ^test/Pipfile\.lock$ + - ^(.*/)?poetry\.lock$ + audit: snyk: files_no_install: diff --git a/poetry.lock b/poetry.lock index 8dbc6fc1b..848e77df3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -162,15 +162,17 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} [[package]] name = "codespell" -version = "2.2.1" +version = "2.2.4" description = "Codespell" category = "main" optional = true -python-versions = ">=3.6" +python-versions = ">=3.7" [package.extras] -dev = ["check-manifest", "flake8", "pytest", "pytest-cov", "pytest-dependency"] +dev = ["Pygments", "build", "chardet", "flake8", "flake8-pyproject", "pytest", "pytest-cov", "pytest-dependency", "tomli"] hard-encoding-detection = ["chardet"] +toml = ["tomli"] +types = ["chardet (>=5.1.0)", "mypy", "pytest", "pytest-cov", "pytest-dependency"] [[package]] name = "colorama" @@ -1448,7 +1450,7 @@ publish_plugins = [] [metadata] lock-version = "1.1" python-versions = ">=3.8,<4.0" -content-hash = "3b13d46f92eb61a8985a5c5804de69a39bb90402060295da3f828cbe5649561a" +content-hash = "f583831447cf13402b27b29adb71dfe6c3638e8bf71d188a1de147d1367db9ee" [metadata.files] astroid = [ @@ -1658,8 +1660,8 @@ click = [ {file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"}, ] codespell = [ - {file = "codespell-2.2.1-py3-none-any.whl", hash = "sha256:0c53a70f466952706407383d87142a78f319a0e18602802c4aadd3d93158bfc6"}, - {file = "codespell-2.2.1.tar.gz", hash = "sha256:569b67e5e5c3ade02a1e23f6bbc56c64b608a3ab48ddd943ece0a03e6c346ed1"}, + {file = "codespell-2.2.4-py3-none-any.whl", hash = "sha256:7d984b8130108e6f82524b7d09f8b7bf2fb1e398c5d4b37d9e2bd310145b3e29"}, + {file = "codespell-2.2.4.tar.gz", hash = "sha256:0b4620473c257d9cde1ff8998b26b2bb209a35c2b7489f5dc3436024298ce83a"}, ] colorama = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, diff --git a/pyproject.toml b/pyproject.toml index 4891ffe16..59d073192 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -102,7 +102,7 @@ black = { version = "22.12.0", optional = true } click = "8.1.3" isort = { version = "5.12.0", optional = true } twine = { version = "4.0.2", optional = true } -codespell = { version = "2.2.1", optional = true } +codespell = { version = "2.2.4", optional = true } toml = "0.10.2" debian-inspector = "31.0.0" PyYAML = "6.0"