Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing bug the project link and formated code base with flake8 #53

Merged
merged 1 commit into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"],

},
)
)