Skip to content

Conversation

@ajparsons
Copy link
Contributor

Quick experiment - not essential to anything but a test of how easily ruff fits an existing project.

This PR replaces black, isort and flake8 with ruff - with config settings to mirror the current isort settings.

Linting differences are mostly blank lines (annoying some of which I introduced the reverse with black the other day) - one instance where it changes /B to /b - generally ruff follows black closely.

The advantage of it (apart from condensing a few packages) is it's very very quick. Noticeably much faster than running black even on a smallish project like this - which is nice when running something that formats on save.

ajparsons and others added 4 commits April 21, 2025 17:21
- replace black, flake8, isort
- all blank lines except...
- lower case unicode \b in import_air_quality_data
@struan struan force-pushed the single-ruff-linter branch from 10c9c47 to 935ceb9 Compare April 21, 2025 17: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