Skip to content

Commit

Permalink
🔧 remove just
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Dec 3, 2024
1 parent 2b8304c commit a8a8141
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 162 deletions.
15 changes: 4 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ repos:
- mdformat-gfm-alerts
- mdformat-pyproject

- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
- tomli

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
hooks:
Expand All @@ -77,20 +70,20 @@ repos:
- repo: local
hooks:
- id: typetest
name: just typetest
entry: just typetest
name: typetest
entry: uv run poe typetest
language: system
always_run: true
pass_filenames: false

- id: basedmypy
name: basedmypy
entry: just mypy
entry: uv run poe mypy
language: system
types_or: [python, pyi]

- id: basedpyright
name: basedpyright
entry: just pyright
entry: uv run poe pyright
language: system
types_or: [python, pyi]
81 changes: 0 additions & 81 deletions justfile

This file was deleted.

26 changes: 12 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ dev-dependencies = [
# task runners
"poethepoet>=0.31.1",
"pre-commit>=4.0.1",
"pre-commit-uv>=4.1.4",
"tox>=4.23.2",
"tox-uv>=1.16.0",

# codemodding
"libcst>=1.5.1",
Expand Down Expand Up @@ -265,21 +263,21 @@ env_list = ["repo-review", "pre-commit", "3.10", "3.11", "3.12", "3.13"]

[tool.tox.env_run_base]
description = "stubtest with {base_python}"
runner = "uv-venv-lock-runner"
# use_develop = true
commands_pre = [["uv", "sync", "--frozen"]] # TODO: remove the sync when the above works
commands = [["just", "stubtest"]]
skip_install = true
allowlist_externals = ["uv", "poe"]
commands_pre = [["uv", "sync", "--frozen"]]
commands = [["poe", "stubtest"]]

[tool.tox.env.pre-commit]
description = "pre-commit"
runner = "uv-venv-lock-runner"
# use_develop = true
commands_pre = [["uv", "sync", "--frozen"]] # TODO: remove the sync when the above works
commands = [["just", "pre-commit"]]
skip_install = true
allowlist_externals = ["uv", "poe"]
commands_pre = [["uv", "sync", "--frozen"]]
commands = [["poe", "pre-commit"]]

[tool.tox.env.repo-review]
description = "repo-review"
runner = "uv-venv-lock-runner"
# use_develop = true
commands_pre = [["uv", "sync", "--frozen"]] # TODO: remove the sync when the above works
commands = [["just", "repo-review"]]
skip_install = true
allowlist_externals = ["uv", "poe"]
commands_pre = [["uv", "sync", "--frozen"]]
commands = [["poe", "repo-review"]]
56 changes: 0 additions & 56 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a8a8141

Please sign in to comment.