From 486ad08fc249ec15c899f5021bcea0f121becd71 Mon Sep 17 00:00:00 2001 From: Ruslan Senatorov <55090151+ruslansenatorov@users.noreply.github.com> Date: Sun, 19 May 2024 16:18:08 +0300 Subject: [PATCH 1/2] Delete .pre-commit-config.yaml --- .pre-commit-config.yaml | 223 ---------------------------------------- 1 file changed, 223 deletions(-) delete mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 9e4510a69c3..00000000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,223 +0,0 @@ -repos: - - repo: https://github.com/asottile/add-trailing-comma - rev: v3.1.0 - hooks: - - id: add-trailing-comma - - repo: https://github.com/psf/black.git - rev: 24.4.0 - hooks: - - id: black - - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 - hooks: - - id: nbqa-black - name: nbqa-black - description: Run 'black' on a Jupyter Notebook - entry: nbqa black - language: python - require_serial: true - types_or: [jupyter, markdown] - additional_dependencies: [black] - - repo: https://github.com/asottile/pyupgrade - rev: v3.15.2 - hooks: - - id: pyupgrade - args: [--py39-plus] - - repo: https://github.com/pycqa/isort - rev: 5.13.2 - hooks: - - id: isort - - repo: https://github.com/adamchainz/blacken-docs - rev: 1.16.0 - hooks: - - id: blacken-docs - additional_dependencies: - - black==24.2.0 - - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 - hooks: - - id: nbqa-pyupgrade - name: nbqa-pyupgrade - description: Run 'pyupgrade' on a Jupyter Notebook - entry: nbqa pyupgrade - language: python - require_serial: true - types_or: [jupyter, markdown] - additional_dependencies: [pyupgrade] - - id: nbqa-isort - name: nbqa-isort - description: Run 'isort' on a Jupyter Notebook - entry: nbqa isort - language: python - require_serial: true - types_or: [jupyter, markdown] - additional_dependencies: [isort] - - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - - id: debug-statements - - id: name-tests-test - - id: requirements-txt-fixer - - - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 - hooks: - - id: codespell - additional_dependencies: - - tomli - - - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 - hooks: - - id: nbqa-flake8 - args: ["--ignore=E501,E712,W291,F632,E203"] - name: nbqa-flake8 - description: Run 'flake8' on a Jupyter Notebook - entry: nbqa flake8 - language: python - require_serial: true - types_or: [jupyter, markdown] - additional_dependencies: - - flake8-variables-names - - pep8-naming - - flake8-functions-names - - - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 - hooks: - - id: flake8 - args: ["--ignore=E501,E712,W291,F632,E203"] - additional_dependencies: - - flake8-variables-names - - pep8-naming - - flake8-functions-names - - - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 - hooks: - - id: nbqa-mypy - name: nbqa-mypy - description: Run 'mypy' on a Jupyter Notebook - entry: nbqa mypy - language: python - require_serial: true - types_or: [jupyter, markdown] - additional_dependencies: - - mypy - - pandas-stubs - - git+https://github.com/numpy/numpy-stubs - - mypy-extensions - - types-requests - - types-PyYAML - - types-setuptools - - args: - - --cache-dir=/dev/null - - --cache-dir=nul - - --no-incremental - - --explicit-package-bases - - --ignore-missing-imports - - --disallow-untyped-calls - - --disallow-untyped-defs - - --disallow-untyped-decorators - - --strict - - --extra-checks - - --disallow-any-unimported - - --disallow-any-decorated - - --disallow-any-explicit - - --disallow-any-generics - - --disallow-subclassing-any - - --local-partial-types - - --pretty - - --force-uppercase-builtins - - --force-union-syntax - - --warn-unreachable - - --warn-redundant-casts - - --warn-return-any - - - - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 - hooks: - - id: mypy - args: - - --cache-dir=/dev/null - - --cache-dir=nul - - --no-incremental - - --explicit-package-bases - - --ignore-missing-imports - - --disallow-untyped-calls - - --disallow-untyped-defs - - --disallow-untyped-decorators - - --strict - - --extra-checks - - --disallow-any-unimported - - --disallow-any-decorated - - --disallow-any-explicit - - --disallow-any-generics - - --disallow-subclassing-any - - --local-partial-types - - --pretty - - --force-uppercase-builtins - - --force-union-syntax - - --warn-unreachable - - --warn-redundant-casts - - --warn-return-any - - - - additional_dependencies: - - mypy - - pandas-stubs - - git+https://github.com/numpy/numpy-stubs - - mypy-extensions - - types-requests - - types-PyYAML - - types-setuptools - - - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 - hooks: - - id: nbqa-pylint - name: nbqa-pylint - description: Run 'pylint' on a Jupyter Notebook - entry: nbqa pylint - language: python - require_serial: true - types_or: [jupyter, markdown] - additional_dependencies: [pylint] - args: - [ - "--max-line-length=79", - "--const-naming-style=any", - "--disable=E0401,W0104", - ] - - - repo: https://github.com/pre-commit/mirrors-pylint - rev: v2.3.1 - hooks: - - id: pylint - name: pylint - entry: pylint - language: python - types: [python] - args: - [--max-line-length=79, "--const-naming-style=any", "--disable=E0401,W0104"] - additional_dependencies: [pylint] - - - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 - hooks: - - id: nbqa-pydocstyle - name: nbqa-pydocstyle - description: Run 'pydocstyle' on a Jupyter Notebook - entry: nbqa pydocstyle - language: python - require_serial: true - types_or: [jupyter, markdown] - additional_dependencies: [pydocstyle] From c07418f7d4035d3beb03a9fb4852c589e240520b Mon Sep 17 00:00:00 2001 From: Ruslan Senatorov <55090151+ruslansenatorov@users.noreply.github.com> Date: Sun, 19 May 2024 16:18:32 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 19bec5ba23e..03c280e1cba 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# My Python Eggs 🐍 😄. +# My Python Eggs 🐍 😄