diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63bb904db..d4ed43f22 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,9 +4,7 @@ repos: hooks: - id: check-added-large-files - id: check-ast - - id: check-builtin-literals - id: check-case-conflict - - id: check-docstring-first - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - id: check-merge-conflict @@ -14,7 +12,6 @@ repos: - id: check-json - id: check-yaml - id: check-toml - - id: debug-statements - id: mixed-line-ending - id: end-of-file-fixer - id: trailing-whitespace @@ -24,6 +21,6 @@ repos: rev: v0.4.5 hooks: - id: ruff - args: [ check --preview ] + args: [ --preview ] - id: ruff-format args: [ --preview ] diff --git a/README.md b/README.md index 1b71fda3a..9b92ae4af 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ Congratulations, you’ve just built your first Kubernetes charm using `ops`! Read our [Code of conduct](https://ubuntu.com/community/code-of-conduct) and: - Join our chat: [Mattermost](https://chat.charmhub.io/charmhub/channels/ops) - Join our forum: [Discourse](https://discourse.charmhub.io/) - + ### File an issue - Report an `ops` bug using [GitHub issues](https://github.com/canonical/operator/issues) @@ -175,4 +175,3 @@ Read our [Code of conduct](https://ubuntu.com/community/code-of-conduct) and: - Read our [documentation contributor guidelines](https://discourse.charmhub.io/t/documentation-guidelines-for-contributors/1245) and help improve a doc - Read our [codebase contributor guidelines](HACKING.md) and help improve the codebase - Write a charm and publish it on [Charmhub](https://charmhub.io/) - diff --git a/docs/.sphinx/_templates/footer.html b/docs/.sphinx/_templates/footer.html index 9b676c9c1..e7c20dd55 100644 --- a/docs/.sphinx/_templates/footer.html +++ b/docs/.sphinx/_templates/footer.html @@ -5,7 +5,7 @@ {% if meta %} {% if 'sequential_nav' in meta %} {% set sequential_nav = meta.sequential_nav %} - {% endif %} + {% endif %} {% endif %} {# mod: Conditional wrappers to control page navigation buttons #} {% if sequential_nav != "none" -%} diff --git a/docs/.sphinx/pa11y.json b/docs/.sphinx/pa11y.json index 8df0cb9cb..04dc1e1c5 100644 --- a/docs/.sphinx/pa11y.json +++ b/docs/.sphinx/pa11y.json @@ -6,4 +6,4 @@ }, "reporter": "cli", "standard": "WCAG2AA" -} \ No newline at end of file +} diff --git a/test/charms/test_main/lib/__init__.py b/test/charms/test_main/lib/__init__.py old mode 100755 new mode 100644 diff --git a/test/charms/test_smoke/README.md b/test/charms/test_smoke/README.md index ff4d55bb5..cc7aa9a76 100644 --- a/test/charms/test_smoke/README.md +++ b/test/charms/test_smoke/README.md @@ -6,6 +6,6 @@ A simple test charm for running smoke tests. ## Usage -Make sure that you are on a box with charmcraft and juju installed, and that you are connected to a "machine" controller, such as a local lxd cloud. +Make sure that you are on a box with charmcraft and juju installed, and that you are connected to a "machine" controller, such as a local lxd cloud. Then, from the root directory of this repository, execute `tox -e smoke` to build and deploy this charm. diff --git a/tox.ini b/tox.ini index 7caa76f9c..15d33f26b 100644 --- a/tox.ini +++ b/tox.ini @@ -75,7 +75,7 @@ deps = typing_extensions~=4.2 commands = coverage run --source={[vars]src_path} \ - -m pytest --ignore={[vars]tst_path}smoke -v --tb native {posargs} + -m pytest --ignore={[vars]tst_path}smoke -v --tb native {posargs} coverage report [testenv:pebble]