generated from alan-cooney/transformer-lens-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99f9e6b
commit 5ec8c79
Showing
34 changed files
with
834 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Parse semver string | ||
id: semver_parser | ||
id: semver_parser | ||
uses: booxmedialtd/[email protected] | ||
with: | ||
input_string: ${{ github.event.release.tag_name }} | ||
|
@@ -51,4 +51,4 @@ jobs: | |
- name: Publish | ||
run: poetry publish | ||
env: | ||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN }} | ||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-toml | ||
- id: check-json | ||
- id: check-added-large-files | ||
- id: check-merge-conflict | ||
- id: check-symlinks | ||
- id: destroyed-symlinks | ||
- id: detect-private-key | ||
# - repo: local | ||
# hooks: | ||
# - id: ruff_lint | ||
# name: Ruff Lint | ||
# entry: poetry run ruff check sparse_autoencoder | ||
# language: system | ||
# types: [python] | ||
# require_serial: true | ||
# - id: ruff_format | ||
# name: Ruff Format | ||
# entry: poetry run ruff format sparse_autoencoder --check | ||
# language: system | ||
# types: [python] | ||
# require_serial: true | ||
# - id: typecheck | ||
# name: Pyright Type Check | ||
# entry: poetry run pyright | ||
# language: system | ||
# types: [python] | ||
# require_serial: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
"kevinrose.vsc-python-indent", | ||
"donjayamanne.python-environment-manager" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
{ | ||
"rewrap.autoWrap.enabled": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true, | ||
"source.organizeImports": true | ||
}, | ||
"rewrap.reformat": false, | ||
"[toml]": {"editor.defaultFormatter": "tamasfe.even-better-toml"}, | ||
"editor.codeActionsOnSave": {"source.fixAll.eslint": true, "source.organizeImports": true}, | ||
"editor.defaultFormatter": "charliermarsh.ruff", | ||
"editor.formatOnSave": true, | ||
"python.testing.pytestEnabled": true, | ||
"rewrap.wrappingColumn": 100, | ||
"notebook.formatOnCellExecution": true, | ||
"notebook.formatOnSave.enabled": true, | ||
"editor.defaultFormatter": "charliermarsh.ruff", | ||
} | ||
"python.analysis.autoFormatStrings": true, | ||
"python.analysis.autoImportCompletions": true, | ||
"python.analysis.inlayHints.functionReturnTypes": false, | ||
"python.analysis.typeCheckingMode": "basic", | ||
"python.testing.pytestEnabled": true, | ||
"rewrap.autoWrap.enabled": true, | ||
"rewrap.reformat": false, | ||
"rewrap.wrappingColumn": 100 | ||
} |
Oops, something went wrong.