Skip to content

Commit 519e68a

Browse files
committed
Standard Python repository layout
1 parent 488d91e commit 519e68a

23 files changed

+6
-4
lines changed

.github/workflows/pylint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
run: |
1818
python -m pip install --upgrade pip
1919
pip install pylint
20-
cd src
2120
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2221
- name: Analysing the code with pylint
2322
run: |
24-
pylint --output-format=colorized --disable=C0301,C0103 --fail-under=7.75 src
23+
pylint --output-format=colorized --disable=C0301,C0103 --fail-under=7.75 python_mcu

.github/workflows/python-app.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
python-version: 3.9
2323
- name: Install dependencies
2424
run: |
25-
cd src
2625
python -m pip install --upgrade pip
2726
pip install flake8 pytest
2827
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

TODO.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- [x] [rdoursenaud] port to python 3 and pyside 2
33
- [x] [rdoursenaud] cleanup code and make it PEP008 compliant
44
- [x] [rdoursenaud] port latex documentation to Sphinx
5+
- [x] [rdoursenaud] standard Python repository layout
56
- [ ] [rdoursenaud] write pytest unit tests only looking at the protocol docs
67
- [ ] [rdoursenaud] properly handle invalid config file
78
- [ ] [rdoursenaud] disallow start if MIDI ports are not set in the GUI
@@ -12,6 +13,7 @@
1213
- [ ] [rdoursenaud] explore if using mido could be beneficial
1314
- [ ] [rdoursenaud] add a nice icon
1415
- [ ] [rdoursenaud] reduce and restore from systray using QSystemTrayIcon or pystray
16+
- [ ] [rdoursenaud] add setup.py
1517
- [ ] [rdoursenaud] create Microsoft Windows binary using pyinstaller?
1618
- [x] [rdoursenaud] update documentation
1719
- [ ] [rdoursenaud] publish documentation to readthedocs.org

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313
import sys
1414

15-
sys.path.insert(0, '../src')
15+
sys.path.insert(0, '../python_mcu')
1616

1717
# -- Project information -----------------------------------------------------
1818

docs/license.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _License:
2+
13
License
24
=======
35

File renamed without changes.

0 commit comments

Comments
 (0)