mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-12 15:27:14 +03:00
[2186] Additional Documentations
This commit is contained in:
parent
ccb103242c
commit
d00226f9e3
1
.flake8
1
.flake8
@ -7,7 +7,6 @@ exclude =
|
|||||||
FDevIDs/
|
FDevIDs/
|
||||||
venv/
|
venv/
|
||||||
.venv/
|
.venv/
|
||||||
hotkey/darwin.py # FIXME: Check under macOS VM at some point
|
|
||||||
|
|
||||||
# Show exactly where in a line the error happened
|
# Show exactly where in a line the error happened
|
||||||
#show-source = True
|
#show-source = True
|
||||||
|
@ -6,5 +6,4 @@ scripts_are_modules = True
|
|||||||
; `<var> = <value>`
|
; `<var> = <value>`
|
||||||
; i.e. no typing info.
|
; i.e. no typing info.
|
||||||
check_untyped_defs = True
|
check_untyped_defs = True
|
||||||
; platform = darwin
|
|
||||||
explicit_package_bases = True
|
explicit_package_bases = True
|
||||||
|
@ -679,7 +679,7 @@ the following does not work:
|
|||||||
|
|
||||||
```py
|
```py
|
||||||
from sys import platform
|
from sys import platform
|
||||||
if platform == 'darwin':
|
if platform == 'win32':
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,6 +23,3 @@ sys-platform-not-darwin = "sys_platform == 'darwin'"
|
|||||||
sys-platform-linux = "sys_platform != 'linux'"
|
sys-platform-linux = "sys_platform != 'linux'"
|
||||||
sys-platform-not-linux = "sys_platform == 'linux'"
|
sys-platform-not-linux = "sys_platform == 'linux'"
|
||||||
sys-platform-not-known = "sys_platform in ('darwin', 'linux', 'win32')"
|
sys-platform-not-known = "sys_platform in ('darwin', 'linux', 'win32')"
|
||||||
|
|
||||||
[tool.pyright]
|
|
||||||
# pythonPlatform = 'Darwin'
|
|
||||||
|
@ -10,6 +10,3 @@ infi.systray==0.1.12; sys_platform == 'win32'
|
|||||||
# argh==0.26.2 watchdog dep
|
# argh==0.26.2 watchdog dep
|
||||||
# pyyaml==5.3.1 watchdog dep
|
# pyyaml==5.3.1 watchdog dep
|
||||||
semantic-version==2.10.0
|
semantic-version==2.10.0
|
||||||
|
|
||||||
# Base requirement for MacOS
|
|
||||||
pyobjc; sys_platform == 'darwin'
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user