6
mirror of https://github.com/AllSpiceIO/cofactr-cogs.git synced 2025-04-10 22:50:08 +00:00

Change to sort imports ()

This commit is contained in:
Jonathan Tran 2024-05-31 19:04:19 -04:00 committed by GitHub
parent c8c33be354
commit 9cfa087ccf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"]