diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index b2ed3b081f4f69727ba546cda7b9ddece0ef75fd..77176256982688097db1c52073c329a23b352ebf 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -6,8 +6,7 @@ on:
       - main
   pull_request:
     branches:
-      - master
-      - 'gh/**'
+      - main
 
 jobs:
   run-linters:
diff --git a/dinov2/hub/utils.py b/dinov2/hub/utils.py
index f1829b4ce6751566d76e42e0bc63c834bfd6e8d5..46805993337e48b35f3933804db26278088c7965 100644
--- a/dinov2/hub/utils.py
+++ b/dinov2/hub/utils.py
@@ -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"
 
 
diff --git a/setup.cfg b/setup.cfg
index 3cac0c045434cde205eebe91fd5a2c35a1226b4b..a2b19d6b2045143e056628b09fb9a5db357a6e07 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,5 +3,6 @@ max-line-length = 120
 ignore = E203,E501,W503
 per-file-ignores =
   __init__.py:F401
+  hubconf.py:F401
 exclude =
     venv