Skip to content

Commit

Permalink
Update TODO and PyPi Classifiers
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Ramsay <[email protected]>
  • Loading branch information
seapagan committed Jul 25, 2023
1 parent 344150a commit 3d28f00
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 11 deletions.
11 changes: 5 additions & 6 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

- Add testing with [Pytest](https://pytest.org)
- Add a documentation website using [MkDocs](https://mkdocs.org)

## Dependencies

- Create PR for [Rich](https://rich.readthedocs.io) for my changes to the
`Prompt` class and hopefully get them merged. This is needed before the App
can be published on [PyPi](https://pypi.org)
- Add option to generate a skeleton MkDocs website for the new project
- Implement saving settings to a file (Name, Email, Default License, etc.) Have
a new command to create and edit the settings
- Ask for more settings ie homepage, repo, etc. and add them to the generated
`pyproject.toml` file (if the new project is likely to be uploaded to PyPI)
Empty file added py_maker/tests/__init__.py
Empty file.
29 changes: 24 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,26 @@ authors = ["Grant Ramsay <[email protected]>"]
readme = "README.md"
license = "MIT"

packages = [{include = "py_maker"}]
repository = "https://github.com/seapagan/py-maker"
homepage = "https://seapagan.github.io/seapagan/py-maker"

classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
"Topic :: Software Development :: Code Generators",
"Topic :: Utilities",
]

packages = [{ include = "py_maker" }]

[tool.poetry.urls]
"Pull Requests" = "https://github.com/seapagan/py-maker/pulls"
Expand All @@ -17,7 +36,7 @@ pymaker = "py_maker.main:app"

[tool.poetry.dependencies]
python = ">=3.9,<4.0"
typer = {extras = ["all"], version = "^0.9.0"}
typer = { extras = ["all"], version = "^0.9.0" }
jinja2 = "^3.1.2"
gitpython = "^3.1.32"
tomli = "^2.0.1"
Expand Down Expand Up @@ -69,7 +88,7 @@ mypy = "mypy **/*.py"
flake8 = "flake8 **/*.py"
black = "black **/*.py"
try = "tryceratops **/*.py"
lint = ["black","flake8","pylint","mypy", "try"]
lint = ["black", "flake8", "pylint", "mypy", "try"]

# configure assorted tools and linters
[tool.isort]
Expand All @@ -93,8 +112,8 @@ exclude = '''
[tool.flake8]
max-line-length = 80
exclude = ["__init__.py", ".git"]
extend-ignore=["E203", "W503"]
extend-select=["TC", "TC1", "TRY"]
extend-ignore = ["E203", "W503"]
extend-select = ["TC", "TC1", "TRY"]
docstring-convention = "google"
type-checking-pydantic-enabled = true

Expand Down

0 comments on commit 3d28f00

Please sign in to comment.