Skip to content

Commit 4bcf0a0

Browse files
committed
Move flake8 config into a separate folder
1 parent 5bb033a commit 4bcf0a0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ repos:
1616
files: \.pyx$
1717
types:
1818
- file
19-
args: [--append-config=.flake8.cython]
19+
args: [--append-config=flake8/cython.cfg]
2020
- id: flake8
2121
name: flake8-pxd
2222
language: python_venv
2323
files: \.(pxd|pxi\.in)$
2424
types:
2525
- file
26-
args: [--append-config=.flake8.cython-header]
26+
args: [--append-config=flake8/cython-header.cfg]
2727
- repo: https://github.com/pre-commit/mirrors-isort
2828
rev: v4.3.21
2929
hooks:

ci/code_checks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then
6666
RET=$(($RET + $?)) ; echo $MSG "DONE"
6767

6868
MSG='Linting .pyx code' ; echo $MSG
69-
flake8 --format="$FLAKE8_FORMAT" pandas --append-config=.flake8.cython
69+
flake8 --format="$FLAKE8_FORMAT" pandas --append-config=flake8/cython.cfg
7070
RET=$(($RET + $?)) ; echo $MSG "DONE"
7171

7272
MSG='Linting .pxd and .pxi.in' ; echo $MSG
73-
flake8 --format="$FLAKE8_FORMAT" pandas/_libs --append-config=.flake8.cython-header
73+
flake8 --format="$FLAKE8_FORMAT" pandas/_libs --append-config=flake8/cython-header.cfg
7474
RET=$(($RET + $?)) ; echo $MSG "DONE"
7575

7676
echo "flake8-rst --version"
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)