-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from setup.py and setup.cfg to pyproject.toml
- Loading branch information
1 parent
b1f1dd6
commit 0320cf1
Showing
25 changed files
with
85 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
prune tests | ||
include README.md | ||
include LICENSE | ||
include CHANGELOG.md | ||
include MANIFEST.in | ||
recursive-include docs * | ||
include tox.ini | ||
include pyproject.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "django-migration-linter" | ||
version = "5.0.0" | ||
description = "Detect backward incompatible migrations for your django project" | ||
authors = [ | ||
{ name="3YOURMIND GmbH", email="[email protected]" }, | ||
] | ||
maintainers = [{name = "David Wobrock", email = "[email protected]"}] | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
dependencies = [ | ||
"django>=2.2", | ||
"appdirs>=1.4.3", | ||
"toml>=0.10.2", | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.0", | ||
"Framework :: Django :: 4.1", | ||
"Framework :: Django :: 4.2", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
keywords = [ | ||
"django", | ||
"migration", | ||
"lint", | ||
"linter", | ||
"database", | ||
"backward", | ||
"compatibility", | ||
] | ||
|
||
|
||
[project.urls] | ||
Changelog = "https://github.com/3YOURMIND/django-migration-linter/blob/main/CHANGELOG.md" | ||
Repository = "https://github.com/3YOURMIND/django-migration-linter" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"tox>=4.6.3", | ||
"mysqlclient>=2.1.1", | ||
"psycopg2>=2.9.6", | ||
"django_add_default_value>=0.4.0", | ||
"coverage>=7.2.7", | ||
] | ||
|
||
[tool.isort] | ||
multi_line_output = 3 | ||
include_trailing_comma = "True" | ||
force_grid_wrap = 0 | ||
use_parentheses = "True" | ||
ensure_newline_before_comments = "True" | ||
line_length = 88 | ||
add_imports = [ "from __future__ import annotations" ] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,7 @@ commands = | |
coverage xml -i | ||
extras = test | ||
pip_pre = true | ||
|
||
[flake8] | ||
max-line-length=88 | ||
ignore=E203,W503 |