Skip to content

Commit 3e5b5c5

Browse files
committed
remove typing.cast II
1 parent a89e5de commit 3e5b5c5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.pre-commit-config.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,27 @@ repos:
7777
--linelength=88,
7878
'--filter=-readability/casting,-runtime/int,-build/include_subdir,-readability/fn_size'
7979
]
80+
- repo: https://github.com/pycqa/pylint
81+
rev: v2.16.1
82+
hooks:
83+
- id: pylint
84+
stages: [manual]
85+
- repo: https://github.com/pycqa/pylint
86+
rev: v2.16.1
87+
hooks:
88+
- id: pylint
89+
alias: redefined-outer-name
90+
name: Redefining name from outer scope
91+
files: ^pandas/
92+
exclude: |
93+
(?x)
94+
^pandas/tests # keep excluded
95+
|/_testing/ # keep excluded
96+
|^pandas/util/_test_decorators\.py # keep excluded
97+
|^pandas/_version\.py # keep excluded
98+
|^pandas/conftest\.py # keep excluded
99+
args: [--disable=all, --enable=redefined-outer-name]
100+
stages: [manual]
80101
- repo: https://github.com/PyCQA/isort
81102
rev: 5.12.0
82103
hooks:

0 commit comments

Comments
 (0)