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

CP-41819: Start py3 migration with config for isort and apply isort #17

Conversation

bernhardkaindl
Copy link
Collaborator

@bernhardkaindl bernhardkaindl commented Nov 3, 2023

This the the 1st PR to migrate to Python3:

Start off with a defined config and as most imports will have to be updated,
support the imports to be placed using isort at the expected place.

Changes:

  • Add .pyproject.toml with configuration for isort and line length
  • Add setup.cfg, enable pip install . with setuptools_scm
  • Apply an initial isort to prepare upcoming imports using isort.

- Add .pyproject.toml with configuration for isort and line length
- Add setup.cfg, enable `pip install .` with setuptools_scm
- Apply isort changes as configured

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
@bernhardkaindl bernhardkaindl merged commit ee16423 into xenserver:master Nov 3, 2023
2 checks passed
@bernhardkaindl bernhardkaindl deleted the private/bernhardk/CP-41819-pip-pyproject-isort branch January 8, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants