diff options
author | Matt Clay <matt@mystile.com> | 2022-02-28 14:37:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 14:37:09 -0800 |
commit | a06fa496d3f837cca3c437ab6e9858525633d147 (patch) | |
tree | 16a99050f8af0e37c2d6d93d97cfd4e47bebd9ec /test/lib/ansible_test/_internal/core_ci.py | |
parent | 8291dbdf812ecf00a6366ffd12d216a75cae4d73 (diff) | |
download | ansible-a06fa496d3f837cca3c437ab6e9858525633d147.tar.gz |
ansible-test - Code cleanup and refactoring. (#77169)
* Remove unnecessary PyCharm ignores.
* Ignore intentional undefined attribute usage.
* Add missing type hints. Fix existing type hints.
* Fix docstrings and comments.
* Use function to register completion handler.
* Pass strings to display functions.
* Fix CompositeAction handling of dest argument.
* Use consistent types in expressions/assignments.
* Use custom function to keep linters happy.
* Add missing raise for custom exception.
* Clean up key/value type handling in cloud plugins.
* Use dataclass instead of dict for results.
* Add custom type_guard function to check lists.
* Ignore return type that can't be checked (yet).
* Avoid changing types on local variables.
Diffstat (limited to 'test/lib/ansible_test/_internal/core_ci.py')
-rw-r--r-- | test/lib/ansible_test/_internal/core_ci.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/core_ci.py b/test/lib/ansible_test/_internal/core_ci.py index 023b5655aa..dbb428aeeb 100644 --- a/test/lib/ansible_test/_internal/core_ci.py +++ b/test/lib/ansible_test/_internal/core_ci.py @@ -107,7 +107,7 @@ class AnsibleCoreCI: self._clear() if self.instance_id: - self.started = True + self.started = True # type: bool else: self.started = False self.instance_id = str(uuid.uuid4()) |