File tree 3 files changed +12
-20
lines changed
3 files changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -326,9 +326,9 @@ def _needs_appkit_launcher(self) -> bool:
326
326
If that key is absent or null, we assume the app has its own listener.
327
327
328
328
See:
329
- - https://developer.apple.com/library/archive/documentation/Carbon/Conceptual/LaunchServicesConcepts/LSCConcepts/LSCConcepts.html # noqa
329
+ - https://developer.apple.com/library/archive/documentation/Carbon/Conceptual/LaunchServicesConcepts/LSCConcepts/LSCConcepts.html
330
330
- The source code at /src/appkit-launcher in this repository
331
- """
331
+ """ # noqa
332
332
return bool (self .metadata .get ("event_handler" ))
333
333
334
334
Original file line number Diff line number Diff line change 16
16
17
17
### Other
18
18
19
- * Use `ruff` for linting and formatting. (#315)
19
+ * Use `ruff` for linting and formatting. (#315, #318 )
20
20
* Check and pretty-format JSON files. (#315)
Original file line number Diff line number Diff line change @@ -26,23 +26,6 @@ where = ["."]
26
26
include = [" menuinst*" ]
27
27
namespaces = true
28
28
29
- [tool .black ]
30
- line-length = 99
31
- target-version = [' py38' , ' py39' , ' py310' , ' py311' ]
32
- include = ' \.pyi?$'
33
- exclude = '''
34
- ^/(
35
- (
36
- menuinst/_legacy
37
- | tests/_legacy
38
- )/
39
- )
40
- '''
41
-
42
- [tool .isort ]
43
- profile = " black"
44
- line_length = 99
45
-
46
29
[tool .pyright ]
47
30
pythonPlatform = " All"
48
31
@@ -52,6 +35,15 @@ exclude = [
52
35
" _schema.py"
53
36
]
54
37
38
+ [tool .ruff .lint ]
39
+ # see https://docs.astral.sh/ruff/rules/
40
+ select = [
41
+ " E" , # pycodestyle errors (part of flake8)
42
+ " F" , # pyflakes (part of flake8)
43
+ " I" , # isort
44
+ " W" , # pycodestyle warnings (part of flake8)
45
+ ]
46
+
55
47
[tool .vendoring ]
56
48
destination = " menuinst/_vendor/"
57
49
namespace = " menuinst._vendor"
You can’t perform that action at this time.
0 commit comments