1
1
Fork 0

pylint fixes
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 12s

This commit is contained in:
Seaswimmer 2024-04-29 19:20:03 -04:00
parent 4fb81b2c78
commit 00d34e7e2f
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F
11 changed files with 23 additions and 13 deletions

View file

@ -0,0 +1,7 @@
[MESSAGES CONTROL]
disable=
too-many-lines,
missing-module-docstring,
missing-function-docstring,
missing-class-docstring,
line-too-long

View file

@ -1,3 +0,0 @@
# Blastoff!
*4/29/2024*

View file

@ -1 +0,0 @@
35,32,100,111,110,39,116,32,109,111,100,105,102,121,32,116,104,105,115,32,102,105,108,101

View file

@ -1,3 +0,0 @@
# Online Store
04/29/2024
wip

View file

@ -1 +0,0 @@
# don't modify this file

5
blastoff/README.md Normal file
View file

@ -0,0 +1,5 @@
# Blastoff
## 4/29/2024
wip

1
blastoff/__init__.py Normal file
View file

@ -0,0 +1 @@
# don't modify this file

View file

@ -7,7 +7,7 @@ def countdown(n: int) -> None:
print(n) print(n)
sleep(1) sleep(1)
countdown(n-1) countdown(n-1)
def countup(n: int) -> None: def countup(n: int) -> None:
if n >= 0: if n >= 0:
print('Blastoff!') print('Blastoff!')
@ -24,4 +24,4 @@ def count(n: int) -> None:
if __name__ == "__main__": if __name__ == "__main__":
num = input("Enter a number: ") num = input("Enter a number: ")
count(int(num)) count(int(num))

5
online_store/README.md Normal file
View file

@ -0,0 +1,5 @@
# Online Store
## 04/29/2024
wip

1
online_store/__init__.py Normal file
View file

@ -0,0 +1 @@
# don't modify this file

View file

@ -23,8 +23,7 @@ def get_discounted_prices(*prices: int) -> float:
elif len(prices_set) == 2: elif len(prices_set) == 2:
return float(price_sum * 0.9) return float(price_sum * 0.9)
else: return float(price_sum)
return float(price_sum)
def print_row(item: str, price: str, bold: bool = False) -> None: def print_row(item: str, price: str, bold: bool = False) -> None:
# ANSI color codes # ANSI color codes
@ -50,4 +49,4 @@ if __name__ == '__main__':
print_row("Grapes & Apples Combo", get_discounted_prices(prices_dict["grapes"], prices_dict["apples"])) print_row("Grapes & Apples Combo", get_discounted_prices(prices_dict["grapes"], prices_dict["apples"]))
print_row("Fruit Gift Pack", get_discounted_prices(prices_dict["grapes"], prices_dict["apples"], prices_dict["oranges"])) print_row("Fruit Gift Pack", get_discounted_prices(prices_dict["grapes"], prices_dict["apples"], prices_dict["oranges"]))
print("⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯") print("⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯")
print("For delivery Contact: (987) 646-78899") # lol? print("For delivery Contact: (987) 646-78899") # lol?