Skip to content

Commit

Permalink
Merge pull request #75 from ImperialCollegeLondon/ruff_format
Browse files Browse the repository at this point in the history
Add and apply ruff-format
  • Loading branch information
tsmbland authored Apr 10, 2024
2 parents c18bcd0 + 38441ae commit 22dfc69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ repos:
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.8.0"
hooks:
Expand Down
1 change: 1 addition & 0 deletions myproject/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""The main module for MyProject."""

__version__ = "0.1.0"
1 change: 1 addition & 0 deletions tests/test_myproject.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the main module."""

from myproject import __version__


Expand Down

0 comments on commit 22dfc69

Please sign in to comment.