Skip to content

Commit

Permalink
Reformat files with Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
wfondrie committed Jun 26, 2024
1 parent b5d8a22 commit 0060fe2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions petasus/masses.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Note that this module is particularly tailored to work with Sage's peptide
strings. Your mileage with other search engines may vary!
"""

import re

import numba as nb
Expand Down
1 change: 1 addition & 0 deletions petasus/petasus.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The main CLI entry point."""

import sys

import click
Expand Down
1 change: 1 addition & 0 deletions petasus/scripts/localize_mods.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This script sanitizes the Sage modification masses and attempts to
localize them on the peptide using a crude, highest-scoring method.
"""

import json
import logging
import time
Expand Down
1 change: 1 addition & 0 deletions petasus/scripts/sage2lib.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Converts a search results to a dlib file"""

from pathlib import Path

import click
Expand Down
1 change: 1 addition & 0 deletions petasus/scripts/scan2rt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Get the retention times, given scan numbers."""

import gzip
import logging
import re
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test fixtures"""

from pathlib import Path

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/system_tests/test_localize_mods.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test that localize_mods.py works."""

from pathlib import Path

from click.testing import CliRunner
Expand Down
1 change: 1 addition & 0 deletions tests/unit_tests/test_localize_mods_fns.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the localize mods functionality"""

import math

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions tests/unit_tests/test_masses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test that mass calculations work correctly."""

import numpy as np
from petasus import masses

Expand Down

0 comments on commit 0060fe2

Please sign in to comment.