mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
ci: Fix missing package for pdoc, fix requirements and pep8.
This commit is contained in:
1 parent
2e926c9ece
commit
9e0b4fd243
3 files changed
+6
No files matched your search
@@ -113,6 +113,10 @@ build-developers-doc:
|
|||||||
- ./build.sh
|
- ./build.sh
|
||||||
# Create html documentation
|
# Create html documentation
|
||||||
- cd ../../src
|
- cd ../../src
|
||||||
|
- python3 -m venv doc-venv
|
||||||
|
- . doc-venv/bin/activate
|
||||||
|
- pip3 install -U -r ../requirements.txt
|
||||||
|
- pip3 install -U pdoc3
|
||||||
- pdoc --html .
|
- pdoc --html .
|
||||||
# Create archive
|
# Create archive
|
||||||
- tar cf html.tar ./html
|
- tar cf html.tar ./html
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ PyQt5==5.15.4
|
|||||||
PyQt5-Qt5==5.15.2
|
PyQt5-Qt5==5.15.2
|
||||||
PyQt5-sip==12.12.2
|
PyQt5-sip==12.12.2
|
||||||
#PyQtWebEngine==5.15.6
|
#PyQtWebEngine==5.15.6
|
||||||
|
QsciScintilla==2.14.1
|
||||||
pyqtgraph>=0.12.1
|
pyqtgraph>=0.12.1
|
||||||
matplotlib>=3.4.1
|
matplotlib>=3.4.1
|
||||||
numpy>=1.24.2
|
numpy>=1.24.2
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ from PyQt5.Qsci import QsciScintilla, QsciLexerPython
|
|||||||
|
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
|
|
||||||
|
|
||||||
class PamhyrPythonEditor(QsciScintilla):
|
class PamhyrPythonEditor(QsciScintilla):
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
super(PamhyrPythonEditor, self).__init__(parent)
|
super(PamhyrPythonEditor, self).__init__(parent)
|
||||||
|
|||||||
Reference in new issue
Block a user