Skip to content

drop use python<=3.7 syntax#718

Merged
ecederstrand merged 2 commits intoamoffat:developfrom
kloczek:develop
Mar 13, 2024
Merged

drop use python<=3.7 syntax#718
ecederstrand merged 2 commits intoamoffat:developfrom
kloczek:develop

Conversation

@kloczek
Copy link
Contributor

@kloczek kloczek commented Mar 13, 2024

Despite what is mentioned in pyproject.toml that sh supports only python 3.8.x sh code still uses older syntax.
Pass all code over pyupgrade --py38.

Despite what is mentioned in pyproject.toml that `sh` supports only
python 3.8.x `sh` code still uses older syntax.
Pass all code over `pyupgrade --py38`.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
@ecederstrand
Copy link
Contributor

Thanks for the contribution!

black tripped over a single line because it wants double quotes: _unicode_methods = set(dir(''))

If you push that change, then I'll merge.

@kloczek
Copy link
Contributor Author

kloczek commented Mar 13, 2024

One sec I ned to check what failed 😋

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
@ecederstrand ecederstrand merged commit fe90d98 into amoffat:develop Mar 13, 2024
@kloczek
Copy link
Contributor Author

kloczek commented Mar 13, 2024

Thank you 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants