-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
switch to pyproject.toml #354
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
exclude = static,.git,*migrations*,build,.tox,docs | ||
max-line-length = 119 | ||
max-complexity = 7 | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[project] | ||
name = "Bootstrap-Flask" | ||
description = "Bootstrap 4 & 5 helper for your Flask projects." | ||
readme = "README.md" | ||
license = { text = "MIT" } | ||
authors = [{ name = "Grey Li", email = "[email protected]" }] | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Web Environment', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'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', | ||
'Framework :: Flask', | ||
'Topic :: Internet :: WWW/HTTP :: Dynamic Content', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
] | ||
dependencies = [ | ||
"Flask", | ||
"WTForms", | ||
] | ||
dynamic = ["version"] | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Based on the CI error output, adding a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is caused by tool.setuptools.dynamic . |
||
[project.urls] | ||
Documentation = "https://bootstrap-flask.readthedocs.io/en/stable/" | ||
Changes = "https://bootstrap-flask.readthedocs.io/en/stable/changelog/" | ||
"Source Code" = "https://github.com/helloflask/bootstrap-flask/" | ||
"Issue Tracker" = "https://github.com/helloflask/bootstrap-flask/issues/" | ||
Funding = "https://opencollective.com/bootstrap-flask" | ||
Discussions = "https://github.com/helloflask/bootstrap-flask/discussions/" | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "flask.__version__" } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why use Flask's version? We could use an explicit version field. |
||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["tests"] | ||
|
||
[tool.coverage.run] | ||
source = ["flask_bootstrap"] | ||
|
||
[tool.coverage.report] | ||
exclude_lines = ["pragma: no cover", " except ImportError:"] |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always add an empty line at the end of the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.