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

Refactor #97

Merged
merged 13 commits into from
Nov 6, 2023
Merged

Conversation

ThomasMarwitzQC
Copy link
Collaborator

@ThomasMarwitzQC ThomasMarwitzQC commented Nov 3, 2023

Refactoring changes include:

  • Include Python 3.12 in CI
  • Migrate setup.cfg and setup.py into pyproject.toml
  • Port to ruff
  • Include pre-commit autoupdate workflow
  • Solved Issue Hardcoded version in docs/conf.py #44 (as it relates to the refactoring)
  • Solution for google_auth step.
  • Assign new tag 1.8.2

Install ruff with autofix, list hook at the top.
Port settings from flake8 to ruff.
…ammatically.

The version for the documentation build was hard-coded in .
It is now determined programmtically.
Prettifying the version isn't necessary when a tag is assigned correctly.
@ThomasMarwitzQC
Copy link
Collaborator Author

Added ruff formatter @xhochy

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Attention: 35 lines in your changes are missing coverage. Please review.

Files Coverage Δ
minimalkv/_get_store.py 0.00% <ø> (ø)
minimalkv/_key_value_store.py 0.00% <ø> (ø)
minimalkv/decorator.py 0.00% <ø> (ø)
minimalkv/idgen.py 0.00% <ø> (ø)
minimalkv/net/gcstore.py 0.00% <ø> (ø)
minimalkv/net/s3fsstore.py 0.00% <ø> (ø)
minimalkv/_store_creation.py 0.00% <0.00%> (ø)
minimalkv/_urls.py 0.00% <0.00%> (ø)
minimalkv/crypt.py 0.00% <0.00%> (ø)
minimalkv/db/sql.py 0.00% <0.00%> (ø)
... and 10 more

📢 Thoughts on this report? Let us know!.

- repo: https://github.com/Quantco/pre-commit-mirrors-black
rev: 23.7.0
# Run ruff first because autofix behaviour is enabled
- repo: https://github.com/astral-sh/ruff-pre-commit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the QuantCo-provided conda-based version of this.

Comment on lines 7 to 9
- repo: https://github.com/Quantco/pre-commit-mirrors-ruff
rev: "0.1.3"
hooks:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a single ruff section?

Suggested change
- repo: https://github.com/Quantco/pre-commit-mirrors-ruff
rev: "0.1.3"
hooks:

Copy link
Member

@xhochy xhochy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change the title and "undraft"? Then this can go in.

@ThomasMarwitzQC ThomasMarwitzQC marked this pull request as ready for review November 6, 2023 12:55
@ThomasMarwitzQC ThomasMarwitzQC changed the title [WIP] Refactor Refactor Nov 6, 2023
@xhochy xhochy merged commit a6d0bbe into data-engineering-collective:main Nov 6, 2023
11 checks passed
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