Skip to content

Fix typesystem generation #457

Fix typesystem generation

Fix typesystem generation #457

Triggered via push November 27, 2024 09:32
Status Failure
Total duration 1m 2s
Artifacts

flake8.yml

on: push
Python Lint
54s
Python Lint
Fit to window
Zoom out
Zoom in

Annotations

47 errors
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtPrintSupport.py#L24
[F403] 'from PySide6.QtPrintSupport import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtTest.py#L24
[F403] 'from PySide6.QtTest import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtSql.py#L24
[F403] 'from PySide6.QtSql import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtXml.py#L24
[F403] 'from PySide6.QtXml import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/Qsci.py#L24
[F403] 'from PySide6.Qsci import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtSvg.py#L24
[F403] 'from PySide6.QtSvg import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/Qt.py#L25
[F403] 'from PySide6.Qt import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtWidgets.py#L24
[F403] 'from PySide6.QtWidgets import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtGui.py#L24
[F403] 'from PySide6.QtGui import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtCore.py#L24
[F403] 'from PySide6.QtCore import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtCore.py#L28
[E302] expected 2 blank lines, found 1
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtCore.py#L32
[E305] expected 2 blank lines after class or function definition, found 1
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtCore.py#L36
[F405] 'QDateTime' may be undefined, or defined from star imports: PySide6.QtCore
Python Lint: qt-for-python/qgis/PyQt/PyQt6/sip.py#L25
[F403] 'from PySide6.sip import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/sip.py#L27
[F403] 'from sip import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtWebKitWidgets.py#L24
[F403] 'from PySide6.QtWebKitWidgets import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtWebKit.py#L24
[F403] 'from PySide6.QtWebKit import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/QtNetwork.py#L24
[F403] 'from PySide6.QtNetwork import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/uic/__init__.py#L28
[F403] 'from PySide2.uic import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt6/uic/__init__.py#L30
[F405] 'loadUiType' may be undefined, or defined from star imports: PySide2.uic
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtPrintSupport.py#L24
[F403] 'from PySide2.QtPrintSupport import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtTest.py#L24
[F403] 'from PySide2.QtTest import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtSql.py#L24
[F403] 'from PySide2.QtSql import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtXml.py#L24
[F403] 'from PySide2.QtXml import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/Qsci.py#L24
[F403] 'from PySide2.Qsci import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtSvg.py#L24
[F403] 'from PySide2.QtSvg import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/Qt.py#L25
[F403] 'from PySide2.Qt import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtWidgets.py#L24
[F403] 'from PySide2.QtWidgets import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtGui.py#L24
[F403] 'from PySide2.QtGui import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtCore.py#L24
[F403] 'from PySide2.QtCore import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtCore.py#L28
[E302] expected 2 blank lines, found 1
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtCore.py#L32
[E305] expected 2 blank lines after class or function definition, found 1
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtCore.py#L36
[F405] 'QDateTime' may be undefined, or defined from star imports: PySide2.QtCore
Python Lint: qt-for-python/qgis/PyQt/PyQt5/sip.py#L25
[F403] 'from PySide2.sip import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/sip.py#L27
[F403] 'from sip import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtWebKitWidgets.py#L24
[F403] 'from PySide2.QtWebKitWidgets import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtWebKit.py#L24
[F403] 'from PySide2.QtWebKit import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/QtNetwork.py#L24
[F403] 'from PySide2.QtNetwork import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/uic/__init__.py#L28
[F403] 'from PySide2.uic import *' used; unable to detect undefined names
Python Lint: qt-for-python/qgis/PyQt/PyQt5/uic/__init__.py#L30
[F405] 'loadUiType' may be undefined, or defined from star imports: PySide2.uic
Python Lint: qt-for-python/qgis/core/__init__.py#L1
[F405] 'core' may be undefined, or defined from star imports: .core
Python Lint: qt-for-python/qgis/core/__init__.py#L3
[F403] 'from .core import *' used; unable to detect undefined names
Python Lint: python/testing/__init__.py#L533
[E714] test for object identity should be 'is not'
Python Lint: python/testing/__init__.py#L535
[E714] test for object identity should be 'is not'
Python Lint: tests/src/python/test_qgsfields.py#L15
[E261] at least two spaces before inline comment
Python Lint: tests/src/python/test_qgsfields.py#L22
[F821] undefined name 'QgisTestCase'
Python Lint
[{"path":"qt-for-python/qgis/PyQt/PyQt6/QtPrintSupport.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtPrintSupport import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtTest.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtTest import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtSql.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtSql import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtXml.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtXml import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/Qsci.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.Qsci import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtSvg.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtSvg import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/Qt.py","start_line":25,"end_line":25,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.Qt import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtWidgets.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtWidgets import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtGui.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtGui import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtCore.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtCore import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtCore.py","start_line":28,"end_line":28,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[E302] expected 2 blank lines, found 1"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtCore.py","start_line":32,"end_line":32,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[E305] expected 2 blank lines after class or function definition, found 1"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtCore.py","start_line":36,"end_line":36,"start_column":21,"end_column":21,"annotation_level":"failure","message":"[F405] 'QDateTime' may be undefined, or defined from star imports: PySide6.QtCore"},{"path":"qt-for-python/qgis/PyQt/PyQt6/sip.py","start_line":25,"end_line":25,"start_column":5,"end_column":5,"annotation_level":"failure","message":"[F403] 'from PySide6.sip import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/sip.py","start_line":27,"end_line":27,"start_column":5,"end_column":5,"annotation_level":"failure","message":"[F403] 'from sip import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtWebKitWidgets.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtWebKitWidgets import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtWebKit.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtWebKit import *' used; unable to detect undefined names"},{"path":"qt-for-python/qgis/PyQt/PyQt6/QtNetwork.py","start_line":24,"end_line":24,"start_column":1,"end_column":1,"annotation_level":"failure","message":"[F403] 'from PySide6.QtNetwork import *' us