Skip to content
Snippets Groups Projects
Unverified Commit b507fbcf authored by Patrick Labatut's avatar Patrick Labatut Committed by GitHub
Browse files

Minor config tweaks (#246)

Ignore import warnings in hubconf and trigger lint workflow on PR.
parent 9a4564ce
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,7 @@ on:
- main
pull_request:
branches:
- master
- 'gh/**'
- main
jobs:
run-linters:
......
......@@ -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"
......
......@@ -3,5 +3,6 @@ max-line-length = 120
ignore = E203,E501,W503
per-file-ignores =
__init__.py:F401
hubconf.py:F401
exclude =
venv
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment