Skip to content

Commit

Permalink
Lots of minor fixes, refactdoring, adding PySide6 support....
Browse files Browse the repository at this point in the history
  • Loading branch information
dkmstr committed Mar 3, 2024
1 parent c699725 commit 5cf7ef9
Show file tree
Hide file tree
Showing 18 changed files with 333 additions and 5,219 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ udsactor*.rpm
*_ignore.*

__pycache__
full/.vscode/
1 change: 1 addition & 0 deletions full/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8.18
20 changes: 20 additions & 0 deletions full/mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[mypy]
#plugins =
# mypy_django_plugin.main

# Exclude all .*/transports/.*/scripts/.* directories
exclude = .*/transports/.*/scripts/.*

mypy_path = $MYPY_CONFIG_FILE_DIR/src
disable_error_code = import, no-any-return, misc
strict = True
implicit_reexport = true

[mypy.plugins.django-stubs]
django_settings_module = "server.settings"

[mypy-uds.ui.qt5.*]
ignore_errors = True

[mypy-uds.ui.qt6.*]
ignore_errors = True
13 changes: 13 additions & 0 deletions full/pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"include": [
"src"
],
"exclude": [
"**/ui/**",
"**/__pycache__",
],
"typeCheckingMode": "strict",
"reportPrivateUsage": false,
"reportUnusedImport": true,
"reportMissingTypeStubs": false,
}
2 changes: 2 additions & 0 deletions full/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PySide6
psutil
Loading

0 comments on commit 5cf7ef9

Please sign in to comment.