Skip to content

Commit b9c15e0

Browse files
committed
enable flake8 check
1 parent 0795a56 commit b9c15e0

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
ignore = E203, E501, W503

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ repos:
1313
hooks:
1414
- id: black
1515
# A popular Python linter that combines pycodestyle, pyflakes, and McCabe complexity.
16-
# - repo: https://github.com/PyCQA/flake8
17-
# rev: 7.2.0
18-
# hooks:
19-
# - id: flake8
16+
- repo: https://github.com/PyCQA/flake8
17+
rev: 7.2.0
18+
hooks:
19+
- id: flake8
2020
# Sorts Python imports alphabetically and automatically separates them into sections
2121
- repo: https://github.com/pycqa/isort
2222
rev: 6.0.1

daily.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def test_58():
515515
construct by a hash list
516516
getHashByLevel(level)->List
517517
"""
518-
from hashlib import md5
518+
# from hashlib import md5
519519

520520

521521
# MarkleTree is a binary tree, every node mostly has two child:

0 commit comments

Comments
 (0)