Skip to content

Compatibility fix for tests relating to building inventories using NR… #27

Compatibility fix for tests relating to building inventories using NR…

Compatibility fix for tests relating to building inventories using NR… #27

Workflow file for this run

# Lint the code using the defined pre-commits
name: LintCode
on: [push]
jobs:
lint_code:
runs-on: ubuntu-latest
# only run if CI isn't turned off
if: github.event_name == 'push' || !contains(github.event.pull_request.labels.*.name, 'no_ci')
steps:
- uses: actions/checkout@v3
- name: install linting packages
run: pip install pre-commit
- name: run all precommits
run: pre-commit run flake8 --files src/**/*