Skip to content

Commit de4455e

Browse files
fixing bug the project link and formated code base with flake8 (#53)
1 parent 725dc5c commit de4455e

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

random_profile/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
if args.repeat:
3737
random.seed(0)
3838

39+
3940
def main():
4041
gender = None
4142
if args.male:

random_profile/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@
4343

4444

4545
class RandomProfile(object):
46-
""" Random Profile Generator
47-
46+
""" Random Profile Generator
47+
4848
Args:
4949
num (int, optional): Total No. of Name You Want To Print. Defaults to 1.
5050
gender(str, optional): default is None. if you want to generate define gender then pass
51-
51+
5252
Methods:
5353
full_profiles: Generate Full Profile
5454
first_names: Generate First Name
@@ -62,7 +62,7 @@ class RandomProfile(object):
6262
ip_address: Generate IP Address
6363
hair_color: Generate Hair Color
6464
blood_type: Generate Blood Type
65-
job_title: Generate Job Title
65+
job_title: Generate Job Title
6666
"""
6767
def __init__(self, num: int = 1, gender: Gender = None):
6868
self.num = num

requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
pytest
21
fastapi
32
uvicorn
4-
codecov

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,20 @@
99

1010
setuptools.setup(
1111
name="random_profile",
12-
version="2.0.0",
12+
version="3.0.0",
1313
author="Deepak Raj",
1414
author_email="deepak008@live.com",
1515
description="Generate Random Profile",
1616
long_description=long_description,
1717
long_description_content_type="text/markdown",
1818
install_requires=requirements,
1919
data_files=[('assets', glob('random_profile/assets/*'))],
20-
url="https://github.com/codePerfectPlus/Random-Profile-Generator",
20+
url="https://github.com/Py-Contributors/RandomProfileGenerator",
2121
packages=setuptools.find_packages(),
2222
project_urls={"Documentation": "https://pycontributors.readthedocs.io/projects/randomprofilegenerator/en/latest/",
2323
"Source": "https://github.com/Py-Contributors/RandomProfileGenerator",
24-
"Tracker": "https://github.com/Py-Contributors/RandomProfileGenerator/issues"},
24+
"Tracker": "https://github.com/Py-Contributors/RandomProfileGenerator/issues",
25+
"Funding": "https://github.com/sponsors/codePerfectPlus"},
2526
classifiers=[
2627
"Development Status :: 5 - Production/Stable",
2728
"Programming Language :: Python :: 3",
@@ -36,4 +37,4 @@
3637
"random_profile = random_profile.cli:main"],
3738

3839
},
39-
)
40+
)

0 commit comments

Comments
 (0)