[pre-commit.ci] pre-commit autoupdate #897
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 | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- '**.cff' | |
- 'setup.py' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint pytest pytest-cov | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: pylint | |
run: | | |
pylint -v --recursive=True aisdc.safemodel aisdc.attacks tests --fail-under 10 | |
... |