Skip to content

Commit 1d7c053

Browse files
flake8 fixed
1 parent 6b9eccc commit 1d7c053

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

random_profile/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
cities_name = load_txt_file(cities_name_txt)
3737
street_names = load_txt_file(street_names_txt)
3838
job_titles = load_txt_file(job_titles_txt)
39-
email_domains = load_txt_file(email_domain_txt)
4039

4140

4241
class RandomProfile:
@@ -81,7 +80,6 @@ def full_profile(self, num=None):
8180
phone = f'+1-{random.randint(300, 500)}-{random.randint(800, 999)}-{random.randint(1000,9999)}'
8281
job_title = random.choice(job_titles)
8382
ip_address = ipv4_gen()
84-
email_domain = random.choice(email_domains)
8583

8684
dob, age = generate_dob_age()
8785
height, weight = generate_random_height_weight()
@@ -93,7 +91,7 @@ def full_profile(self, num=None):
9391
zip_code = random.randint(10000, 99999)
9492

9593
address = f'{street_num} {street} St. {city} {state} {zip_code}'
96-
email = first.lower() + last.lower() + '@' + email_domain
94+
email = first.lower() + last.lower() + '@example.com'
9795

9896
profile_dict = {}
9997
profile_dict['id'] = unique_id

0 commit comments

Comments
 (0)