6
mirror of https://github.com/AllSpiceIO/cofactr-cogs.git synced 2025-04-14 07:19:13 +00:00

Change to sort imports

This commit is contained in:
Jonathan Tran 2024-05-31 17:00:15 -04:00
parent c8c33be354
commit d70887917a
No known key found for this signature in database
3 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,7 @@
from dataclasses import dataclass
from enum import Enum
import os
import sys
from dataclasses import dataclass
from enum import Enum
import requests

View File

@ -3,12 +3,12 @@
# This script doesn't depend on py-allspice, but it requires a BOM CSV file to
# run. You can use https://github.com/AllSpiceIO/generate-bom to generate a BOM
# CSV.
from argparse import ArgumentParser
from contextlib import ExitStack
import csv
import sys
from argparse import ArgumentParser
from contextlib import ExitStack
from cofactr_cogs.api import fetch_price_for_part, PartPrices, SearchStrategy
from cofactr_cogs.api import PartPrices, SearchStrategy, fetch_price_for_part
def main() -> None:

View File

@ -4,5 +4,4 @@ lint.ignore = [
"F405", # Unknown identifier usage due to import *.
]
line-length = 100
lint.select = ["E", "F", "RUF"]
exclude = []
lint.select = ["E", "F", "I", "RUF"]