Skip to content

Merge branch 'main' of https://github.com/clemsgrs/dinov2 #19

Merge branch 'main' of https://github.com/clemsgrs/dinov2

Merge branch 'main' of https://github.com/clemsgrs/dinov2 #19

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'
cache-dependency-path: '**/lint*.txt'
- name: Install Python (development) dependencies
run: |
pip install -r lint.txt
- name: Run flake8
run: |
flake8
- name: Run black
if: always()
run: |
black --check dinov2
- name: Run pylint
if: always()
run: |
pylint --exit-zero dinov2