Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: format -> fmt #38

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[tox]
no_package = True
skip_missing_interpreters = True
env_list = format, lint, static, unit
env_list = fmt, lint, static, unit
min_version = 4.0.0

[vars]
Expand All @@ -23,8 +23,8 @@ pass_env =
CHARM_BUILD_DIR
MODEL_SETTINGS

[testenv:format]
description = Apply coding style standards to code
[testenv:fmt]
description = Apply coding style standards to code.
deps =
black
ruff
Expand All @@ -33,7 +33,7 @@ commands =
ruff check --fix {[vars]all_path}

[testenv:lint]
description = Check code against coding style standards
description = Check code against coding style standards.
deps =
black
ruff
Expand All @@ -47,7 +47,7 @@ commands =
black --check --diff {[vars]all_path}

[testenv:unit]
description = Run unit tests
description = Run unit tests.
deps =
-r {tox_root}/dev-requirements.txt
-r {tox_root}/requirements.txt
Expand All @@ -62,15 +62,15 @@ commands =
coverage report

[testenv:static]
description = Run static type checks
description = Run static type checks.
deps =
pyright
-r {tox_root}/requirements.txt
commands =
pyright {posargs}

[testenv:integration]
description = Run integration tests
description = Run integration tests.
allowlist_externals = gambol
commands =
gambol -v run tests/integration/test_hpc_libs.yaml
Expand Down