Skip to content

Commit

Permalink
Update .mega-linter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC authored Feb 14, 2024
1 parent 0fb5418 commit 5e1a4b1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ PYTHON_BANDIT_CONFIG_FILE: pyproject.toml

# DO this heheheha because of https://github.com/PyCQA/flake8/issues/234
# Where grown adults just complain and complain lol.
PRE_COMMANDS:
PYTHON_FLAKE8_ARGUMENTS: --toml-config /github/workspace/pyproject.toml
PYTHON_FLAKE8_PRE_COMMANDS:
- command: pip install --upgrade pip && pip install Flake8-pyproject
venv: flake8

PYTHON_MYPY_PRE_COMMANDS:
# Adds qmake for pip
- command: apk add qt6-qtbase-dev
- command: export PATH=/usr/lib/qt6/bin:$PATH && pip install --upgrade pip && pip install pytest ament_mypy ament-lint-flake8 pyqt6
- command: pip install --upgrade pip && pip install pytest ament_mypy ament-lint-flake8
venv: mypy
- command: export PATH=/usr/lib/qt6/bin:$PATH && pip install pyqt6
venv: mypy
PYTHON_FLAKE8_ARGUMENTS: --toml-config /github/workspace/pyproject.toml

DISABLE:
- COPYPASTE
Expand Down

0 comments on commit 5e1a4b1

Please sign in to comment.