Skip to content

Commit 46e0840

Browse files
committed
Refactor code for readability and conciseness
1 parent 9ad3616 commit 46e0840

File tree

9 files changed

+294
-276
lines changed

9 files changed

+294
-276
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Run mypy
3636
run: mypy binarytree
3737
- name: Run pytest
38-
run: py.test --cov=./ --cov-report=xml
38+
run: py.test --cov=binarytree --cov-report=xml
3939
- name: Run Sphinx doctest
4040
run: python -m sphinx -b doctest docs docs/_build
4141
- name: Run Sphinx HTML

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,6 @@ ENV/
9393

9494
# setuptools-scm
9595
binarytree/version.py
96+
97+
# Jupyter Notebook
98+
*.ipynb

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
rev: v0.790
2525
hooks:
2626
- id: mypy
27-
args: [ binarytree ]
27+
files: ^binarytree/
2828
- repo: https://gitlab.com/pycqa/flake8
2929
rev: 3.8.4
3030
hooks:

0 commit comments

Comments
 (0)