Skip to content

Commit

Permalink
disable tox because fuck it (not compatible with uv sync and lock fil…
Browse files Browse the repository at this point in the history
…es for now)
  • Loading branch information
AiroPi committed Sep 1, 2024
1 parent 5e95d0b commit 37ef986
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 97 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
with:
python-version: 3.11.0
cache: pip
- name: Install tox
run: |
python -m pip install -U pip
pip install tox
- name: Test application with tox
run: |
tox
# - name: Install tox
# run: |
# python -m pip install -U pip
# pip install tox
# - name: Test application with tox
# run: |
# tox
# - name: Upload test artifacts
# uses: actions/upload-artifact@v3
# with:
Expand Down
30 changes: 15 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ dependencies = [
requires-python = ">=3.12"

[tool.uv]
dev-dependencies = ["tox", "pyright", "pip-tools", "debugpy", "ruff"]
dev-dependencies = ["tox-uv", "pyright", "pip-tools", "debugpy", "ruff"]

[tool.tox]
legacy_tox_ini = """
[tox]
skipsdist = true
# [tool.tox]
# legacy_tox_ini = """
# [tox]
# skipsdist = true

[testenv]
deps =
-r requirements.txt
-r requirements.dev.txt
commands =
# pytest
ruff format --check src
ruff check src
pyright src/
"""
# [testenv]
# deps =
# -r requirements.txt
# -r requirements.dev.txt
# commands =
# # pytest
# ruff format --check src
# ruff check src
# pyright src/
# """

[tool.ruff]
line-length = 120
Expand Down
75 changes: 0 additions & 75 deletions requirements.txt

This file was deleted.

0 comments on commit 37ef986

Please sign in to comment.