Skip to content

Commit

Permalink
lint and format
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmiglio committed Oct 14, 2024
1 parent df6dd5b commit 1111c16
Show file tree
Hide file tree
Showing 13 changed files with 432 additions and 393 deletions.
3 changes: 2 additions & 1 deletion demo/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"memuc.set_configuration_vm(\"resolution_width\", \"460\", vm_index=vm_index)\n",
"memuc.set_configuration_vm(\"resolution_height\", \"680\", vm_index=vm_index)\n",
"memuc.set_configuration_vm(\"vbox_dpi\", \"160\", vm_index=vm_index)\n",
"memuc.set_configuration_vm(\"start_window_mode\", \"1\", vm_index=vm_index) # set to remember window location"
"memuc.set_configuration_vm(\"start_window_mode\", \"1\", vm_index=vm_index) # set to remember window location"
]
},
{
Expand Down Expand Up @@ -203,6 +203,7 @@
"outputs": [],
"source": [
"import time\n",
"\n",
"time.sleep(10)\n",
"memuc.stop_vm(vm_index=vm_index, timeout=60)"
]
Expand Down
11 changes: 5 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# pylint: disable=invalid-name,missing-module-docstring,missing-class-docstring,missing-function-docstring
import os
import os # noqa: D100, INP001
import sys

sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("../.."))
sys.path.insert(0, os.path.abspath(".")) # noqa: PTH100
sys.path.insert(0, os.path.abspath("..")) # noqa: PTH100
sys.path.insert(0, os.path.abspath("../..")) # noqa: PTH100


project = "pymemuc"
copyright = "2023, Martin Miglio" # noqa #pylint: disable=redefined-builtin
copyright = "2023, Martin Miglio" # noqa: A001
author = "Martin Miglio"

locale_dirs = ["locales/"]
Expand Down
3 changes: 2 additions & 1 deletion pymemuc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""a wrapper for memuc.exe as a library to control virual machines"""
"""A wrapper for memuc.exe as a library to control virual machines."""

from .exceptions import (
PyMemucError,
PyMemucException,
Expand Down
Loading

0 comments on commit 1111c16

Please sign in to comment.