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

Switch to ruff for linting and formatting #200

Merged
merged 5 commits into from
Jan 8, 2025
Merged

Conversation

tomjholland
Copy link
Collaborator

This pull request includes significant changes to the configuration and example files, focusing on code formatting and updating dependencies. The most important changes include switching from flake8 and other tools to ruff, and reformatting several Jupyter notebooks for better readability and consistency.

Configuration updates:

  • .flake8: Removed the configuration file for flake8, including settings and plugin requirements.
  • .pre-commit-config.yaml: Replaced flake8, isort, and black with ruff for linting and formatting.

Code formatting improvements:

Minor changes:

  • docs/source/_append_footbib.py and docs/source/conf.py: Added a newline for better code structure. [1] [2]

@tomjholland tomjholland added the infrastructure Modification or update of tooling for QA, installation, CI or deployment label Jan 8, 2025
@tomjholland tomjholland merged commit 460f51c into main Jan 8, 2025
4 checks passed
@tomjholland tomjholland deleted the switch-to-ruff branch January 8, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Modification or update of tooling for QA, installation, CI or deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant