diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4c91006..a94e6f1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,21 +37,6 @@ repos: entry: poetry run mypy --no-namespace-packages --exclude esgf_playground_utils/models/__init__.py language: system types: [ file, python ] - - id: bandit - name: bandit - entry: poetry run bandit -c pyproject.toml -r . - language: system - types: [ file, python ] - - id: xenon - name: xenon - entry: bash -c "poetry run xenon -a $(poetry run python -c \"import tomllib; f = open('pyproject.toml','rb') ; data = tomllib.load(f); f.close(); print(data['tool']['quality']['mccabe']['average'])\") -b $(poetry run python -c \"import tomllib; f = open('pyproject.toml','rb') ; data = tomllib.load(f); f.close(); print(data['tool']['quality']['mccabe']['block'])\") -m $(poetry run python -c \"import tomllib; f = open('pyproject.toml','rb') ; data = tomllib.load(f); f.close(); print(data['tool']['quality']['mccabe']['module'])\") . " - language: system - types: [ file, python ] - - id: mypy - name: mypy - entry: poetry run mypy --no-namespace-packages --exclude esgf_playground_utils/models/__init__.py - language: system - types: [ file, python ] - id: docs name: docs entry: bash -c "poetry run sphinx-build -M dummy ./docs ./docs/_build -W -q -a" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9ed5634..0932452 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,6 +16,7 @@ Changed ^^^^^^^ - Corrected typo in CHANGELOG +- Removed duplication in pre-commit configuration Removed ^^^^^^^