Skip to content

Commit

Permalink
release new
Browse files Browse the repository at this point in the history
  • Loading branch information
darya-malo committed Nov 6, 2024
1 parent bacef66 commit b7ed8b5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
pip install "nbqa[toolchain]" pylint nbqa
- name: Pylint
run: |
pylint --max-line-length=79 --const-naming-style=any --disable=R1721,R0903,E2515,C0303,E1101,R1716,E0401,W1514,C0200,C0114,C0301,E0602,W0104,C0302,R0801,E1136 --disable=import-error $(git ls-files '*.py' '*.ipynb')
pylint --max-line-length=79 --const-naming-style=any --disable=R1721,R0903,C0303,E1101,R1716,E0401,W1514,C0200,C0114,C0301,E0602,W0104,C0302,R0801,E1136,line-too-long --disable=import-error $(git ls-files '*.py' '*.ipynb')
nbqa pylint --max-line-length=79 --const-naming-style=any --disable=R1721,R0903,E2515,C0303,E1101,R1716,E0401,W1514,C0200,C0114,C0301,E0602,W0104,C0302,R0801,E1136 --disable=import-error $(git ls-files '*.py' '*.ipynb')
28 changes: 19 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,19 @@ repos:
rev: "5.13.2"
hooks:
- id: isort
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.19.1"
args:
- --check
- --float-to-top
- repo: https://github.com/nbQA-dev/nbQA
rev: "1.9.0"
hooks:
- id: blacken-docs
additional_dependencies:
- black==24.2.0
- id: nbqa
entry: nbqa blacken-docs
name: nbqa-blacken-docs
alias: nbqa-blacken-docs
additional_dependencies: [blacken-docs]
args:
- --nbqa-md
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.9.0
hooks:
Expand All @@ -57,6 +64,9 @@ repos:
require_serial: true
types_or: [jupyter, markdown]
additional_dependencies: [isort]
args:
- --check
- --float-to-top

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
Expand All @@ -83,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
Expand All @@ -101,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
Expand Down Expand Up @@ -206,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
Expand All @@ -222,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,line-too-long"
]
additional_dependencies: [pylint]

Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
## Python
* Python Made Easy
* [Chapter1 Intro To Data Science](Python/Python_Made_Easy/chapter1_intro_to_data_science.ipynb)
* [Chapter1 Intro To Data Science](Python/Python_Made_Easy/chapter1_intro_to_data_science.py)
* [Bug Report Github Issues](Python/bug_report_github_issues.ipynb)
* [Bug Report Github Issues](Python/bug_report_github_issues.py)

## [Log](/log.ipynb)

## [Log](/log.py)

## Tests
* [Pylint Test](tests/pylint_test.py)

0 comments on commit b7ed8b5

Please sign in to comment.