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

More fstring cleanup #1802

Merged

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Oct 13, 2023

SUMMARY

Now that we're using tox for more of our linting tests, add flynt (encourage the use of fstrings)

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/modules/ec2_metadata_facts.py
plugins/modules/s3_object.py
pyproject.toml
tox.ini

ADDITIONAL INFORMATION

flynt was mass-applied as part of the 6.0.0 but we didn't update the linters.

Note: explicitly excludes ec2_metadata_facts because this is expected to be run on managed nodes as well as the controllers. This is also why ec2_metadata_facts doesn't include botocore or our usual module wrapper.

@tremble tremble marked this pull request as ready for review October 13, 2023 10:19
@github-actions
Copy link

github-actions bot commented Oct 13, 2023

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

@softwarefactory-project-zuul

This comment was marked as resolved.

@softwarefactory-project-zuul

This comment was marked as outdated.

@softwarefactory-project-zuul

This comment was marked as resolved.

@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Oct 13, 2023
@softwarefactory-project-zuul

This comment was marked as resolved.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/ae32911f94f74cf5aa179946bdf89f4b

✔️ ansible-galaxy-importer SUCCESS in 3m 51s
✔️ build-ansible-collection SUCCESS in 12m 45s
✔️ ansible-test-splitter SUCCESS in 4m 58s
✔️ integration-amazon.aws-1 SUCCESS in 12m 11s
Skipped 43 jobs

@softwarefactory-project-zuul

This comment was marked as outdated.

@tremble
Copy link
Contributor Author

tremble commented Oct 16, 2023

regate

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/2ff2aad7111c4ede9050e52052dac132

✔️ ansible-galaxy-importer SUCCESS in 4m 11s
✔️ build-ansible-collection SUCCESS in 12m 52s
✔️ ansible-test-splitter SUCCESS in 4m 40s
✔️ integration-amazon.aws-1 SUCCESS in 13m 37s
Skipped 43 jobs

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 06f8f53 into ansible-collections:main Oct 16, 2023
36 checks passed
tremble added a commit to ansible-collections/community.aws that referenced this pull request Oct 17, 2023
SUMMARY

Apply isort - see also ansible-collections/amazon.aws#1771
Apply flynt - see also ansible-collections/amazon.aws#1802

ISSUE TYPE

    Feature Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 20, 2023
SUMMARY

Apply isort - see also ansible-collections#1771
Apply flynt - see also ansible-collections#1802

ISSUE TYPE

    Feature Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@c0117b5
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 26, 2023
SUMMARY

Apply isort - see also ansible-collections#1771
Apply flynt - see also ansible-collections#1802

ISSUE TYPE

    Feature Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@c0117b5
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 27, 2023
SUMMARY

Apply isort - see also ansible-collections#1771
Apply flynt - see also ansible-collections#1802

ISSUE TYPE

    Feature Pull Request

COMPONENT NAME

ADDITIONAL INFORMATION

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@c0117b5
@tremble tremble deleted the lint/flynt branch January 12, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit Merge the PR (SoftwareFactory)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants