Skip to content

Switch to using Ruff instead of flake8/black. - #380

Merged
mhsmith merged 4 commits into
mainfrom
ruff
Nov 11, 2026
Merged

mhsmith merged 4 commits into
mainfrom
ruff

Conversation

@freakboy3742

@freakboy3742 freakboy3742 commented Jul 25, 2026 •

Copy link
Copy Markdown
Member

Part 2 of the work started with beeware/briefcase-template#272.

Migrates the common project workflows to use Ruff, instead of flake8 and black.

Depends on the changes in beeware/briefcase#3144.

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

@freakboy3742
freakboy3742 marked this pull request as draft November 10, 2026 06:25
@freakboy3742
freakboy3742 requested a review from mhsmith November 10, 2026 07:39
@mhsmith
mhsmith marked this pull request as ready for review November 11, 2026 17:08
@mhsmith
mhsmith merged commit c66b20c into main Nov 11, 2026
67 checks passed
@mhsmith
mhsmith deleted the ruff branch November 11, 2026 19:54
@mhsmith

mhsmith commented Nov 11, 2026

Copy link
Copy Markdown
Member

The app's pyproject.toml file doesn't contain any Ruff configuration. So checking out inputs.repository at the top level of the working directory, and then creating the app in a subdirectory of that, caused Ruff to use the configuration from inputs.repository rather than its defaults. Fixed by checking out inputs.repository into a separate subdirectory.

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