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 venv #1031

Merged
merged 5 commits into from
Oct 8, 2024
Merged

Refactor venv #1031

merged 5 commits into from
Oct 8, 2024

Conversation

xs5871
Copy link
Collaborator

@xs5871 xs5871 commented Sep 20, 2024

  • consolidate all of the tooling configuration into pyproject.toml.
  • remove the dependency on pipenv and use a plain venv instead. pipenv is just another point of failure, excruciatingly slow, requires seperate Pipfiles, and doesn't even add convenience since we're not building packages.
  • some spring cleaning since we're at it.

Otherwise spellcheck will search for example in `.venv` for typos in
tooling packages. Maybe the search expression should be a positive list.
@@ -8,7 +8,7 @@ fi
ROOT=$(git rev-parse --show-toplevel)

# This gets us only english .md files at the moment, but is clearly brittle
MARKDOWN_FILES=$(find "$ROOT" -name '*.md' -not -path '**/ptBR/**' -not -path '**/*-ptBR.md' -not -path '**/ja/**')
MARKDOWN_FILES=$(find "$ROOT" -name '*.md' -not -path '**/ptBR/**' -not -path '**/*-ptBR.md' -not -path '**/ja/**' -not -path '**/.*/**')
Copy link
Member

Choose a reason for hiding this comment

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

The lang paths could be removed here now that we've retired those paths.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There was still one non-english doc hidden in hardware, that's why I didn't touch that part.
It's removed now. The "hardware" part of KMK isn't maintained anyway (and imo shouldn't be part of the firmware repository).

@xs5871 xs5871 merged commit 5514117 into main Oct 8, 2024
3 checks passed
@xs5871 xs5871 deleted the refactor-venv branch October 8, 2024 07:02
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