Skip to content

Commit

Permalink
Move submodules to under nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymo111 committed May 7, 2024
1 parent af44e57 commit 80dd351
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
- name: Lint with flake8
run: |
flake8 --count --show-source --statistics --max-line-length=120 \
--per-file-ignores=nexus/Freqlog/backends/__init__.py:F401 --exclude=venv
--per-file-ignores=nexus/Freqlog/backends/__init__.py:F401 \
--exclude=venv,nexus/ui,resources_rc.py,nexus/keyboard,nexus/mouse
- name: Build package
run: python -m build
- name: Check and install package
Expand Down
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "keyboard"]
path = keyboard
path = nexus/keyboard
url = https://github.com/boppreh/keyboard
[submodule "mouse"]
path = mouse
path = nexus/mouse
url = https://github.com/boppreh/mouse
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ repos:
- --statistics
- --max-line-length=120
- --per-file-ignores=nexus/Freqlog/backends/__init__.py:F401
- --exclude=venv,nexus/ui,resources_rc.py,keyboard,mouse
- --exclude=venv,nexus/ui,resources_rc.py,nexus/keyboard,nexus/mouse
additional_dependencies: [flake8]
- id: pytest
name: pytest
Expand Down
1 change: 0 additions & 1 deletion keyboard
Submodule keyboard deleted from d232de
1 change: 0 additions & 1 deletion mouse
Submodule mouse deleted from 41f8cc
4 changes: 2 additions & 2 deletions nexus/Freqlog/Freqlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from threading import Thread
from typing import Optional, Callable

import keyboard
import mouse
from ..keyboard import keyboard
from ..mouse import mouse
from serial import SerialException

from .backends import Backend, SQLiteBackend
Expand Down
2 changes: 1 addition & 1 deletion nexus/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys

from getpass import getpass
import keyboard
import keyboard.keyboard as keyboard

from nexus import __doc__, __version__
from nexus.Freqlog import Freqlog
Expand Down

0 comments on commit 80dd351

Please sign in to comment.