diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 64d5b9593..2518e8f65 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,10 +21,6 @@ repos: rev: v3.1.0 hooks: - id: prettier - - repo: https://github.com/sbrunner/integrity-updater - rev: 0.1.0 - hooks: - - id: integrity-updater - repo: https://github.com/PyCQA/autoflake rev: v2.3.1 hooks: @@ -37,70 +33,3 @@ repos: rev: 24.4.2 hooks: - id: black - - repo: https://github.com/asottile/pyupgrade - rev: v3.16.0 - hooks: - - id: pyupgrade - args: - - --py310-plus - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 - hooks: - - id: detect-private-key - - id: check-merge-conflict - - id: check-ast - - id: debug-statements - - id: check-toml - - id: check-yaml - - id: check-json - - id: end-of-file-fixer - - id: trailing-whitespace - - id: mixed-line-ending - - repo: https://github.com/sbrunner/hooks - rev: 1.0.0 - hooks: - - id: copyright - - id: poetry-check - additional_dependencies: - - poetry==1.8.3 # pypi - - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 - hooks: - - id: codespell - exclude: |- - (?x)^( - (.*/)?poetry\.lock - |ci/cleanup - )$ - # args: - # - --ignore-words=.github/spell-ignore-words.txt - - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.10.0.1 - hooks: - - id: shellcheck - - repo: https://github.com/jumanjihouse/pre-commit-hooks - rev: 3.0.0 - hooks: - - id: git-check - - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.6 - hooks: - - id: check-github-actions - - id: check-github-workflows - - id: check-jsonschema - name: Check GitHub Workflows set timeout-minutes - files: ^\.github/workflows/[^/]+$ - types: - - yaml - args: - - --builtin-schema - - github-workflows-require-timeout - - repo: https://github.com/sirwart/ripsecrets - rev: v0.1.8 - hooks: - - id: ripsecrets - - repo: https://github.com/sbrunner/jsonschema-validator - rev: 0.1.0 - hooks: - - id: jsonschema-validator - files: ^ci/config\.yaml$ diff --git a/CONST_create_template/build b/CONST_create_template/build index e5f6e62a5..092dbbb6c 100755 --- a/CONST_create_template/build +++ b/CONST_create_template/build @@ -11,7 +11,7 @@ import stat import subprocess import sys import urllib.request -from typing import TYPE_CHECKING, Any, List, Optional +from typing import TYPE_CHECKING, Any import yaml diff --git a/build b/build index e5f6e62a5..092dbbb6c 100755 --- a/build +++ b/build @@ -11,7 +11,7 @@ import stat import subprocess import sys import urllib.request -from typing import TYPE_CHECKING, Any, List, Optional +from typing import TYPE_CHECKING, Any import yaml diff --git a/pyproject.toml b/pyproject.toml index e65f56c6d..f1c321984 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,9 +5,3 @@ target-version = ['py39'] [tool.isort] profile = "black" line_length = 110 - -[tool.poetry] -name = "demo_geomapfish" -version = "0.0.0" -description = "Demo of GeoMapFish Application" -authors = ["Camptocamp "] diff --git a/tests/test_app.py b/tests/test_app.py index ed960325a..69019e303 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -1,5 +1,3 @@ -from typing import Dict - import pytest import requests