File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
extend-select = [
3
3
" C901" ,
4
4
" W" ,
5
+
6
+ # local
7
+ " UP" , # pyupgrade
8
+ " YTT" , # flake8-2020
5
9
]
6
10
ignore = [
7
11
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
@@ -20,10 +24,6 @@ ignore = [
20
24
" ISC001" ,
21
25
" ISC002" ,
22
26
]
23
- extend-select = [
24
- " UP" , # pyupgrade
25
- " YTT" , # flake8-2020
26
- ]
27
27
extend-ignore = [
28
28
" UP015" , # redundant-open-modes, explicit is preferred
29
29
" UP030" , # temporarily disabled
Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ def cant_write_to_target(self):
565
565
msg += '\n ' + self .__access_msg
566
566
raise DistutilsError (msg )
567
567
568
- def check_pth_processing (self ):
568
+ def check_pth_processing (self ): # noqa: C901
569
569
"""Empirically verify whether .pth files are supported in inst. dir"""
570
570
instdir = self .install_dir
571
571
log .info ("Checking .pth file support in %s" , instdir )
You can’t perform that action at this time.
0 commit comments