Skip to content

Commit

Permalink
cope :)
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Feb 9, 2024
1 parent 193cfc1 commit a3ec009
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PRE_COMMANDS:
# PRE_COMMANDS:
# - command: pip install pytest ament-lint-pep257 ament-lint-flake8 flake8==4.0.1
# venv: pylint
# - command: pip install --upgrade setuptools pip && pip install pytest ament-lint-pep257 ament-lint-flake8 flake8==4.0.1
Expand All @@ -9,8 +9,8 @@ PRE_COMMANDS:
# venv: isort
# - command: pip install --upgrade setuptools pip && pip install pytest ament-lint-pep257 ament-lint-flake8
# venv: bandit
- command: pip install --upgrade setuptools pip && pip install pytest ament-lint-pep257 ament-lint-flake8 flake8==4.0.1
venv: mypy
# - command: pip install --upgrade setuptools pip && pip install pytest ament-lint-pep257 ament-lint-flake8 flake8==4.0.1
# venv: mypy
# - command: pip install pytest ament-lint-pep257 ament-lint-flake8 flake8==4.0.1
# venv: pyright
# - command: pip install --upgrade setuptools pip && pip install pytest ament-lint-pep257 ament-lint-flake8 flake8==4.0.1
Expand All @@ -23,6 +23,8 @@ DISABLE_LINTERS:
- PYTHON_PYLINT
# MYPY is doing enough type checking
- PYTHON_PYRIGHT
# MYPY cannot do a good job without install all python dependencies so will disable here and use in ROS linter.
- PYTHON_MYPY
# Seems broken rn
- JSON_JSONLINT
# workaround to solve the issue: fatal: detected dubious ownership in repository at '/github/workspace'
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ COPY . .

# TODO for future nerd to do this via ENTRYPOINT which be better but, I could not get ENTRYPOINT to play with VsCODE.
RUN \
# shellcheck source=/.vscode/rov_setup.sh
# shellcheck source=/dev/null
source /root/rov-24/.vscode/rov_setup.sh \
# Installs ROS and python dependencies
# shellcheck source=/.vscode/install_dependencies.sh
# shellcheck source=/dev/null
&& source /root/rov-24/.vscode/install_dependencies.sh \
# Builds package
# shellcheck source=/dev/null
Expand Down

0 comments on commit a3ec009

Please sign in to comment.