From bbdc3d3ff61b45a131ef10459c8aa5e31b0bea0c Mon Sep 17 00:00:00 2001 From: ruslansenatorov Date: Sun, 3 Nov 2024 14:56:58 +0300 Subject: [PATCH] #26 #26 --- .github/ISSUE_TEMPLATE/bug_report.yml | 6 +++--- .gitignore | 2 +- .pre-commit-config.yaml | 22 +++++++++++----------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 311dd82..b3cdc83 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -7,7 +7,7 @@ body: value: >

Attention!

We insert an error message from the terminal into the name of the issues! - + - type: checkboxes id: checks attributes: @@ -15,12 +15,12 @@ body: description: "Please confirm the following:" options: - label: I added a descriptive title. - required: true + required: true - label: I searched through [existing issues](https://t.me/c/1937296927/3602/25534) and couldn't find a solution or duplicate issue. required: true - label: I searched on the web (e.g. Google) or [chatGPT](https://t.me/c/1937296927/2415/23729) and didn't find any helpful information. required: true - + - type: input attributes: label: "Hash commit / link" diff --git a/.gitignore b/.gitignore index 333d58a..62422d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# Byte-compiled / optimized / DLL files +# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56623dc..57f4c66 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -repos: +repos: - repo: https://github.com/PyCQA/docformatter rev: "eb1df347edd128b30cd3368dddc3aa65edcfac38" hooks: @@ -32,9 +32,9 @@ repos: rev: "5.13.2" hooks: - id: isort - args: - - --check - - --float-to-top + args: + - --check + - --float-to-top - repo: https://github.com/nbQA-dev/nbQA rev: "1.9.0" hooks: @@ -64,9 +64,9 @@ repos: require_serial: true types_or: [jupyter, markdown] additional_dependencies: [isort] - args: - - --check - - --float-to-top + args: + - --check + - --float-to-top - repo: https://github.com/pre-commit/pre-commit-hooks rev: "v5.0.0" @@ -93,7 +93,7 @@ repos: hooks: - id: nbqa-flake8 args: - - --ignore=E501,E712,W291,F632,E203,F821,F403 + - --ignore=E501,E712,W291,F632,E203,F821,F403,W391 - --exclude=.*,__init__.py name: nbqa-flake8 description: Run 'flake8' on a Jupyter Notebook @@ -111,7 +111,7 @@ repos: hooks: - id: flake8 args: - - --ignore=E501,E712,W291,F632,E203,F821,F403 + - --ignore=E501,E712,W291,F632,E203,F821,F403,W391 - --exclude=.*,__init__.py additional_dependencies: - flake8-variables-names @@ -216,7 +216,7 @@ repos: - --ignore=no_check*,__init__.py - --max-line-length=79 - --const-naming-style=any - - --disable=E0401,W0104,R0903,R1721,E1101,E0611,F0002 + - --disable=E0401,W0104,R0903,R1721,E1101,E0611,F0002,C0305 - repo: https://github.com/pre-commit/mirrors-pylint @@ -232,7 +232,7 @@ repos: "--ignore=no_check*,__init__.py", "--max-line-length=79", "--const-naming-style=any", - "--disable=E0401,W0104,R0903,R1721,E1101,E0611,F0002" + "--disable=E0401,W0104,R0903,R1721,E1101,E0611,F0002,C0305" ] additional_dependencies: [pylint]