diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ebe48334e..f10ecebe8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,13 @@ +ci: + autoupdate_schedule: quarterly + skip: + - copyright + - poetry-check + - poetry-lock + - pipenv-lock + - helm-lock + - ripsecrets + repos: - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.7.1 @@ -24,10 +34,10 @@ repos: - id: copyright - id: poetry-check additional_dependencies: - - poetry==1.3.2 # pypi + - poetry==1.2.1 # pypi - id: poetry-lock additional_dependencies: - - poetry==1.3.2 # pypi + - poetry==1.2.1 # pypi - id: pipenv-lock additional_dependencies: - pipenv==2023.3.20 # pypi @@ -95,12 +105,3 @@ repos: - --tool=pydocstyle - --die-on-tool-error - --output-format=pylint -ci: - autoupdate_schedule: quarterly - skip: - - copyright - - poetry-check - - poetry-lock - - pipenv-lock - - helm-lock - - ripsecrets diff --git a/poetry.lock b/poetry.lock index 7a006f035..8a38510e9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,3 +1,5 @@ +# This file is automatically @generated by Poetry and should not be changed by hand. + [[package]] name = "astroid" version = "2.14.1" diff --git a/pyproject.toml b/pyproject.toml index e6581305c..a85a7dd28 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,12 +45,7 @@ include = [ "c2cciutils/*.yaml", "c2cciutils/*.json", "c2cciutils/*.js", - "c2cciutils/node_modules/snyk/bin/snyk", - "c2cciutils/node_modules/snyk/dist/**/*", - "c2cciutils/node_modules/snyk/dist/cli/sql-wasm.wasm", - "c2cciutils/node_modules/snyk/pysrc/*.py", - "c2cciutils/node_modules/snyk/pysrc/**/*.py", - "c2cciutils/node_modules/snyk/pysrc/**/*.py", + "c2cciutils/node_modules/snyk/**/*", "c2cciutils/node_modules/**/package.json", "c2cciutils/node_modules/*/*.js", "c2cciutils/node_modules/*/src/*.js", @@ -63,7 +58,7 @@ include = [ "c2cciutils/node_modules/**/modules/*.js", "c2cciutils/node_modules/**/prettier/*.js", ] -exclude = ["c2cciutils/node_modules/snyk/dist/**/*.d.ts", "c2cciutils/node_modules/snyk/dist/**/*.map"] +exclude = ["c2cciutils/node_modules/**/*.d.ts", "c2cciutils/node_modules/**/*.map"] [tool.poetry.scripts] c2cciutils = "c2cciutils.scripts.main:main"