Skip to content

Conversation

@llucax
Copy link
Contributor

@llucax llucax commented Jul 3, 2023

  • Migrate to use repo-config
  • Fix some typing issues in src/conftest.py
  • Clear release notes

@llucax llucax requested a review from a team as a code owner July 3, 2023 11:11
@llucax llucax requested a review from Marenz July 3, 2023 11:11
@github-actions github-actions bot added part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) labels Jul 3, 2023
@llucax llucax requested a review from shsms July 3, 2023 11:32
@llucax llucax self-assigned this Jul 3, 2023
@llucax llucax added this to the v0.17.0 milestone Jul 3, 2023
# Preview controls
watch:
- src
- "src"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why does src get quotes and the rest not?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because it is generated via a template and since we don't know the content 100% sure, we quote it. We don't need to have the inconsistency though, but it should be reported in repo-config, as the template should be fixed and then this repo updated via the template.

@Marenz
Copy link
Contributor

Marenz commented Jul 3, 2023

In your commit description:

These errors went unnonticed in the past because the file wasn't being
checked by mypy.

->

These errors went unnoticed in the past because the file wasn't being
checked by mypy.

Marenz
Marenz previously approved these changes Jul 3, 2023
Copy link
Contributor

@Marenz Marenz left a comment

Choose a reason for hiding this comment

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

I found a few minor things, I'll leave it up to you whether they should be ifxed

pyproject.toml Outdated
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.0",
"mkdocs-material == 9.1.17",
"mkdocs-material == 9.1.16",
Copy link
Contributor

Choose a reason for hiding this comment

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

why going backwards?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oversight, the templates are outdated. I think it will be very annoying to keep templates up to date, so I thought it was better to just leave the projects to get updated via dependabot. But of course when migrating/updating a project we shouldn't revert dependencies, so I will fix, thanks!

llucax added 4 commits July 3, 2023 14:39
Now this project uses repo-config:
https://github.com/frequenz-floss/frequenz-repo-config-python

The files were updated by generating the project using the cookiecutter
template.

Some dependencies needed to be upgraded as part of the process. Now all
dependencies are pinned and kept at the pyproject.toml file.

Signed-off-by: Leandro Lucarella <[email protected]>
These errors went unnoticed in the past because the file wasn't being
checked by `mypy`.

Signed-off-by: Leandro Lucarella <[email protected]>
Signed-off-by: Leandro Lucarella <[email protected]>
When building the documentation with mkdocs we are actually using
repo-config to generate the API documentation, so we need to add it to
the dependencies.

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax
Copy link
Contributor Author

llucax commented Jul 3, 2023

I found a few minor things, I'll leave it up to you whether they should be ifxed

Thanks! Will fix the typo but I will leave the quotes to be fixed in repo-config.

@llucax
Copy link
Contributor Author

llucax commented Jul 3, 2023

Updated!

@llucax llucax requested review from Marenz and shsms July 3, 2023 12:41
@llucax
Copy link
Contributor Author

llucax commented Jul 3, 2023

Enabled auto-merge.

@llucax llucax enabled auto-merge July 3, 2023 12:41
@llucax llucax added this pull request to the merge queue Jul 3, 2023
Merged via the queue into frequenz-floss:v0.x.x with commit 19a0f3a Jul 3, 2023
@llucax llucax deleted the rep-config branch July 3, 2023 14:03
@llucax llucax modified the milestones: v1.0.0, v1.0.0-rc.1 Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants