Skip to content

Commit 3a03240

Browse files
committed
DEV: use flake8 < 6.0 in environment.yml
6.0 removed the `--diff` argument that we need. CI is pinned to version 3.9.2, but any version below 6 seems to work well. [ci skip]
1 parent 307f9da commit 3a03240

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ def task_unicode_check():
889889
'basename': 'unicode-check',
890890
'actions': [str(Dirs().root / 'tools' / 'unicode-check.py')],
891891
'doc': 'Check for disallowed Unicode characters in the SciPy Python '
892-
'and Cython source code.',
892+
'and Cython source code.',
893893
}
894894

895895

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies:
3939
- pydata-sphinx-theme==0.9.0
4040
- sphinx-design
4141
# For linting
42-
- flake8
42+
- flake8 < 6.0
4343
# Some optional test dependencies
4444
- mpmath
4545
- gmpy2

0 commit comments

Comments
 (0)