Skip to content

Commit

Permalink
flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslan-sketch committed Oct 7, 2023
1 parent 7d773a4 commit 82d1748
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions app/main.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
lucky_number = 777
pi = 3.14
one_is_a_prime_number = False
name = "Richard"
my_favourite_films = [
"The Shawshank Redemption",
"The Lord of the Rings: The Return of the King",
"Pulp Fiction",
"The Good, the Bad and the Ugly",
"The Matrix",
]

def check_type(list_elem : list) -> dict:
for_mutable = []
for_immutable = []
sorted_variables = {}
for elem in list_elem:
if isinstance(elem,(int,str,tuple,float)):
if isinstance(elem, (int, str, tuple, float)):
for_immutable.append(elem)
else:
for_mutable.append(elem)
Expand Down

0 comments on commit 82d1748

Please sign in to comment.