Skip to content
Workflow·Pro

Ruff check on save

Two seconds after you save a .py file, runs ruff check on it and notifies you only when it finds problems. It never changes the file. Needs Python and ruff in the Linux environment (pip install ruff). Arrives switched off.

You need PocketCode Pro to install it.

If PocketCode is installed on your Android device, this opens the page in the app.

Preview

Triggers

FILE_SAVED · .py

Steps

Let the typing settle
ruff check
Did ruff find anything?
  Show what ruff found

Changes in 1.0.0

First version.

Related

ESLint check on saveProWorkflowTwo seconds after you save a .js, .jsx or .mjs file, runs your project's own ESLint on it and notifies you only if it finds errors. The file is never changed. Needs ESLint installed in the project (npm install) and an ESLint config. Arrives switched off.Check local links when you save MarkdownProWorkflowTwo seconds after you save a .md file, checks that its links and images to other files in the project point to files that exist, and notifies you with the line of each broken one. Web links and headings aren't checked. Arrives switched off.Flask + SQLite web appProProject templateA reading list in Flask with server-rendered pages and plain forms, SQLite storage and a small JSON API. The tests use Flask's test client. It needs Python and pip in the Linux environment and installs 7 pinned packages.Python CSV reportProProject templateA script that turns a CSV of sales into a summary in the terminal and an HTML page with bar charts of totals per month, category and product. It only uses the standard library and includes sample data and tests. It needs Python in the Linux environment.Python CLI with SQLiteProProject templateAn expense tracker for the terminal. It adds and lists expenses, totals them per category each month and exports CSV. It only uses the standard library (argparse, sqlite3), so there's nothing to pip install, and it has unittest tests. It needs Python in the Linux environment.Commit and push with an AI messageProWorkflowWrites a commit message from your changed files and an optional note, then commits everything in the open project and pushes it. The AI sees file names, not your code. The push uses the Git account you connected in PocketCode. Arrives switched off.