Skip to content

Commit

Permalink
fixing bug the project link and formated code base with flake8 (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
codeperfectplus authored Nov 17, 2022
1 parent 725dc5c commit de4455e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
1 change: 1 addition & 0 deletions random_profile/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
if args.repeat:
random.seed(0)


def main():
gender = None
if args.male:
Expand Down
8 changes: 4 additions & 4 deletions random_profile/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@


class RandomProfile(object):
""" Random Profile Generator
""" Random Profile Generator
Args:
num (int, optional): Total No. of Name You Want To Print. Defaults to 1.
gender(str, optional): default is None. if you want to generate define gender then pass
Methods:
full_profiles: Generate Full Profile
first_names: Generate First Name
Expand All @@ -62,7 +62,7 @@ class RandomProfile(object):
ip_address: Generate IP Address
hair_color: Generate Hair Color
blood_type: Generate Blood Type
job_title: Generate Job Title
job_title: Generate Job Title
"""
def __init__(self, num: int = 1, gender: Gender = None):
self.num = num
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
pytest
fastapi
uvicorn
codecov
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@

setuptools.setup(
name="random_profile",
version="2.0.0",
version="3.0.0",
author="Deepak Raj",
author_email="[email protected]",
description="Generate Random Profile",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=requirements,
data_files=[('assets', glob('random_profile/assets/*'))],
url="https://github.com/codePerfectPlus/Random-Profile-Generator",
url="https://github.com/Py-Contributors/RandomProfileGenerator",
packages=setuptools.find_packages(),
project_urls={"Documentation": "https://pycontributors.readthedocs.io/projects/randomprofilegenerator/en/latest/",
"Source": "https://github.com/Py-Contributors/RandomProfileGenerator",
"Tracker": "https://github.com/Py-Contributors/RandomProfileGenerator/issues"},
"Tracker": "https://github.com/Py-Contributors/RandomProfileGenerator/issues",
"Funding": "https://github.com/sponsors/codePerfectPlus"},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
Expand All @@ -36,4 +37,4 @@
"random_profile = random_profile.cli:main"],

},
)
)

0 comments on commit de4455e

Please sign in to comment.