Skip to content

Add Black formatting check workflow and format codebase#352

Merged
lxgr-linux merged 2 commits intolxgr-linux:masterfrom
squidaboni:issue-243-black-ci
Apr 12, 2026
Merged

Add Black formatting check workflow and format codebase#352
lxgr-linux merged 2 commits intolxgr-linux:masterfrom
squidaboni:issue-243-black-ci

Conversation

@TheyLoveO
Copy link
Copy Markdown
Contributor

Summary

This pull request adds Black formatting checks for pushes and pull requests and formats the current codebase so the check passes.

Changes made

  • added .github/workflows/black.yml
  • added Black configuration to pyproject.toml
  • ran Black on the repository

Validation

  • ran black .
  • ran black --check . successfully

@lxgr-linux
Copy link
Copy Markdown
Owner

This looks really nice, eventhough I think that the configured max-line-length for black (88) should match what's configured in the .editorconfig (80).

Comment thread pyproject.toml
Issues = "https://github.com/lxgr-linux/pokete/issue"
Repository = "https://github.com/lxgr-linux/pokete.git"
[tool.black]
line-length = 88
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Here

@lxgr-linux lxgr-linux merged commit 6c86dfb into lxgr-linux:master Apr 12, 2026
2 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