diff --git a/.flake8 b/.flake8 deleted file mode 100644 index 39eea36963588377b022dbf36753e633a5953d81..0000000000000000000000000000000000000000 --- a/.flake8 +++ /dev/null @@ -1,3 +0,0 @@ -[flake8] -max-line-length = 101 -inline-quotes = " diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 50308f24ad294383bce08b63daafee97d686daf9..bf895f2d642f1a83d19095d762e0b2584d5f158f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,14 +48,6 @@ build: paths: - ${PRE_COMMIT_HOME} -autoflake: - extends: - - .code_changes - - .pre-commit - stage: checks - script: - - pre-commit run -a autoflake - format: extends: - .code_changes @@ -64,14 +56,6 @@ format: script: - pre-commit run -a black -isort: - extends: - - .code_changes - - .pre-commit - stage: checks - script: - - pre-commit run -a isort - mypy: extends: - .code_changes @@ -80,22 +64,6 @@ mypy: script: - pre-commit run -a mypy -pylint: - extends: - - .code_changes - - .pre-commit - stage: checks - script: - - pre-commit run -a pylint - -pyupgrade: - extends: - - .code_changes - - .pre-commit - stage: checks - script: - - pre-commit run -a pyupgrade - pre-commit:hooks: extends: - .doc_changes diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b1a6342118bbb6b75ee4a9f102928544cb2cd245..a773956b4a6447c132e7e01d9d483cc259398b6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,39 +10,14 @@ repos: - id: end-of-file-fixer - id: mixed-line-ending - id: trailing-whitespace -- repo: https://github.com/PyCQA/autoflake - rev: v2.0.1 - hooks: - - id: autoflake - args: - - --recursive - - --expand-star-imports - - --remove-all-unused-imports - - --remove-duplicate-keys - - --remove-unused-variables - - --in-place - repo: https://github.com/psf/black rev: 23.1.0 hooks: - id: black -- repo: https://github.com/PyCQA/isort - rev: 5.12.0 - hooks: - - id: isort - args: ["--profile", "black"] - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.0.1 hooks: - id: mypy -- repo: https://github.com/PyCQA/pylint - rev: v2.16.2 - hooks: - - id: pylint -- repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 - hooks: - - id: pyupgrade - args: [--py37-plus] - repo: https://gitlab.com/devopshq/gitlab-ci-linter rev: v1.0.3 hooks: diff --git a/pyproject.toml b/pyproject.toml index db01d4a45a6820725cbaf40631d5f793b56636e4..23e2a26302bf8178bb60e7dc1e7692bf99f36662 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,14 +41,5 @@ classifiers = [ "Natural Language :: English" ] -[tool.isort] -profile = "black" -src_paths = ["silkaj", "tests"] - [tool.mypy] ignore_missing_imports = true - -[tool.pylint.messages_control] -disable = "C,E0401,E1120,R0801,R0913,W0613" -enable = "C0121,C0202,C0321" -jobs = 0