-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from rocioar/switch-to-poetry
Add poetry config, remove unnecessary files
- Loading branch information
Showing
9 changed files
with
56 additions
and
734 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
exclude = tests/fixtures/* | ||
exclude = | ||
.git, | ||
__pycache__, | ||
.venv, | ||
build | ||
tests/fixtures/* |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
from flake8_django.checker import DjangoStyleChecker | ||
from flake8_django.checker import DjangoStyleChecker # noqa: F401 |
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,37 @@ | ||
[tool.poetry] | ||
name = "flake8-django" | ||
version = "1.1.1" | ||
license = "GPL-3.0-or-later" | ||
description = "Plugin to catch bad style specific to Django Projects." | ||
authors = ["Rocio Aramberri Schegel <rocio.aramberri@schegel.net>"] | ||
readme = "README.md" | ||
keywords = ["flake8", "django", "lint"] | ||
repository = "https://github.com/rocioar/flake8-django" | ||
classifiers=[ | ||
"Framework :: Flake8", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Software Development :: Quality Assurance", | ||
] | ||
|
||
[tool.poetry.plugins] | ||
[tool.poetry.plugins."flake8.extension"] | ||
DJ0 = "flake8_django:DjangoStyleChecker" | ||
|
||
[build-system] | ||
requires = ["poetry_core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
flake8 = "^3.8.4" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^6.2.2" | ||
pytest-cov = "^2.11.1" |