Minor config tweaks (#246)

Ignore import warnings in hubconf and trigger lint workflow on PR.
pull/237/head
Patrick Labatut 2023-09-30 20:01:59 +02:00 committed by GitHub
parent 9a4564ce5e
commit b507fbcf50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View File

@ -6,8 +6,7 @@ on:
- main
pull_request:
branches:
- master
- 'gh/**'
- main
jobs:
run-linters:

View File

@ -3,8 +3,6 @@
# This source code is licensed under the Apache License, Version 2.0
# found in the LICENSE file in the root directory of this source tree.
import torch.nn as nn
_DINOV2_BASE_URL = "https://dl.fbaipublicfiles.com/dinov2"

View File

@ -3,5 +3,6 @@ max-line-length = 120
ignore = E203,E501,W503
per-file-ignores =
__init__.py:F401
hubconf.py:F401
exclude =
venv