Skip to content

Commit

Permalink
chore: re-enabling isort in CI (jbloomAus#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanind authored Apr 18, 2024
1 parent 49c7c36 commit 5c3ffc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
run: poetry run flake8 .
- name: black code formatting
run: poetry run black . --check
# - name: isort linting
# run: poetry run isort . --check-only --diff
- name: isort linting
run: poetry run isort . --check-only --diff
- name: type checking
run: poetry run pyright
- name: Run Unit Tests
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pytest = "^8.0.2"
pytest-cov = "^4.1.0"
pre-commit = "^3.6.2"
flake8 = "^7.0.0"
isort = "^5.13.2"
isort = "5.13.2"
pyright = "^1.1.351"
mamba-lens = "^0.0.4"

Expand All @@ -48,6 +48,7 @@ mamba = ["mamba-lens"]

[tool.isort]
profile = "black"
src_paths = ["sae_lens", "tests"]

[tool.pyright]
typeCheckingMode = "strict"
Expand Down
1 change: 1 addition & 0 deletions sae_lens/analysis/neuronpedia_integration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
import urllib.parse
import webbrowser

import requests


Expand Down

0 comments on commit 5c3ffc2

Please sign in to comment.