We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b83dbd commit abf646aCopy full SHA for abf646a
graalpython/lib-graalpython/patches/flake8/flake8-6.0.0.patch
@@ -0,0 +1,20 @@
1
+diff --git a/flake8/checker.py b/flake8/checker.py
2
+--- a/flake8/checker.py
3
++++ b/flake8/checker.py
4
+@@ -1,6 +1,7 @@
5
+ """Checker Manager and Checker classes."""
6
+ from __future__ import annotations
7
+
8
++import sys
9
+ import argparse
10
+ import contextlib
11
+ import errno
12
+@@ -149,6 +150,8 @@ class Manager:
13
+ # default to 1
14
+ if jobs.is_auto:
15
+ try:
16
++ if sys.implementation.name == 'graalpy':
17
++ return 0
18
+ return multiprocessing.cpu_count()
19
+ except NotImplementedError:
20
+ return 0
graalpython/lib-graalpython/patches/flake8/metadata.toml
@@ -0,0 +1,3 @@
+[[rules]]
+version = '== 6.0.0'
+patch = 'flake8-6.0.0.patch'
0 commit comments