update linty #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint | |
permissions: read-all | |
on: | |
push: | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
# To report GitHub Actions status checks | |
statuses: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# super-linter needs the full git history to get the | |
# list of files that changed across commits | |
fetch-depth: 0 | |
- name: Super-linter | |
uses: super-linter/[email protected] # x-release-please-version | |
env: | |
DEFAULT_BRANCH: main | |
VALIDATE_ANSIBLE: false | |
# We use JSON with comments so JSON linter fails. | |
VALIDATE_JSON: false | |
# Would need to update our documentation format | |
VALIDATE_MARKDOWN: false | |
# @ben Should we keep isort / black? | |
# Perhaps add vscode task to run the commands? | |
# Having some standards for indentation seems nice? | |
VALIDATE_PYTHON_ISORT: false | |
VALIDATE_PYTHON_BLACK: false | |
# Currently broken waiting on a hotfix still tested in the other linter | |
VALIDATE_PYTHON_MYPY: false | |
# PYTHON_PYLINT_CONFIG_FILE: .pylintrc | |
# To report GitHub Actions status checks | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
... |