29
29
# > In those cases, we should replace the customized Queue Report
30
30
# > class with pep8's StandardReport class to ensure users don't run
31
31
# > into this problem.
32
- # > (See also: https://gitlab .com/pycqa/flake8/issues/74 )
32
+ # > (See also: https://github .com/pycqa/flake8/issues/117 )
33
33
errno .ENOSPC ,
34
34
# NOTE(sigmavirus24): When adding to this list, include the reasoning
35
35
# on the lines before the error code and always append your error
@@ -305,7 +305,7 @@ def run(self) -> None:
305
305
or whether to run them in serial.
306
306
307
307
If running the checks in parallel causes a problem (e.g.,
308
- https://gitlab .com/pycqa/flake8/issues/74 ) this also implements
308
+ https://github .com/pycqa/flake8/issues/117 ) this also implements
309
309
fallback to serial processing.
310
310
"""
311
311
try :
@@ -444,7 +444,7 @@ def _extract_syntax_information(exception):
444
444
# least.
445
445
column_offset = 1
446
446
row_offset = 0
447
- # See also: https://gitlab .com/pycqa/flake8/issues/237
447
+ # See also: https://github .com/pycqa/flake8/issues/169
448
448
physical_line = token [- 1 ]
449
449
450
450
# NOTE(sigmavirus24): Not all "tokens" have a string as the last
@@ -454,7 +454,7 @@ def _extract_syntax_information(exception):
454
454
# NOTE(sigmavirus24): SyntaxErrors also don't exactly have a
455
455
# "physical" line so much as what was accumulated by the point
456
456
# tokenizing failed.
457
- # See also: https://gitlab .com/pycqa/flake8/issues/237
457
+ # See also: https://github .com/pycqa/flake8/issues/169
458
458
lines = physical_line .rstrip ("\n " ).split ("\n " )
459
459
row_offset = len (lines ) - 1
460
460
logical_line = lines [0 ]
@@ -661,8 +661,8 @@ def calculate_pool_chunksize(num_checkers, num_jobs):
661
661
- For chunksize, see: https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.Pool.imap # noqa
662
662
- This formula, while not perfect, aims to give each worker two batches of
663
663
work.
664
- - See: https://gitlab .com/pycqa/flake8/merge_requests/156 #note_18878876
665
- - See: https://gitlab .com/pycqa/flake8/issues/265
664
+ - See: https://github .com/pycqa/flake8/issues/829 #note_18878876
665
+ - See: https://github .com/pycqa/flake8/issues/197
666
666
"""
667
667
return max (num_checkers // (num_jobs * 2 ), 1 )
668
668
0 commit comments