Skip to content

Commit

Permalink
remove gitlab tox environment
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrudenell committed Jun 22, 2024
1 parent deb7f53 commit d13411e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ order-by-type = false
[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.pytest.ini_options]
markers = [
"root",
]

[tool.mypy]
mypy_path = "typeshed"
strict = true
6 changes: 0 additions & 6 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ def inner(key: str, args: Sequence[str | Path]) -> int:
return inner


def pytest_collection_modifyitems(items: list[pytest.Item]) -> None:
for item in items:
if "btrfs_mountpoint" in item.fixturenames: # type: ignore[attr-defined]
item.add_marker("root")


def pytest_addoption(parser: pytest.Parser) -> None:
parser.addoption("--update-golden", action="store_true")
parser.addoption("--remove-stale-golden", action="store_true")
Expand Down
9 changes: 0 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ requires =
tox>=4.2
env_list =
py
gitlab

[testenv]
system_site_packages = true
Expand All @@ -17,14 +16,6 @@ commands =
coverage run -m pytest {posargs}
coverage report

[testenv:gitlab]
system_site_packages = true
deps =
moto[s3]
pytest
commands =
pytest -m "not root" {posargs}

[coverage:run]
plugins = covdefaults
source =
Expand Down

0 comments on commit d13411e

Please sign in to comment.