-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
364 additions
and
234 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
trim_trailing_whitespace = true | ||
|
||
[*.{html,css,js,json,xml,yaml,yml}] | ||
indent_size = 2 | ||
|
||
[*.{md,ps1,sh,py,rst}] | ||
indent_size = 4 |
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ Release Notes | |
v0.3.0 | ||
v0.2.1 | ||
v0.2.0 | ||
v0.1.0 | ||
v0.1.0 |
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 |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
|
||
* Updated unit tests for Wagtail 2.12. | ||
|
||
* Apply ``black`` formatting to codebase. | ||
|
||
|
||
.. note:: | ||
|
||
|
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,9 @@ | ||
[tool.black] | ||
line-length = 80 | ||
target-version = ['py36', 'py37', 'py38'] | ||
# Regular expression of files to exclude. | ||
exclude = ''' | ||
/( | ||
migrations | ||
)/ | ||
''' |
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,5 +1,5 @@ | ||
-e ./ | ||
alabaster | ||
black | ||
codespell | ||
flake8 | ||
mypy | ||
|
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,38 +1,36 @@ | ||
from setuptools import setup, find_packages | ||
from wagtailcache import __version__ | ||
|
||
with open('README.md', encoding='utf8') as readme_file: | ||
with open("README.md", encoding="utf8") as readme_file: | ||
readme = readme_file.read() | ||
|
||
setup( | ||
name='wagtail-cache', | ||
name="wagtail-cache", | ||
version=__version__, | ||
author="CodeRed LLC", | ||
author_email='[email protected]', | ||
url='https://github.com/coderedcorp/wagtail-cache', | ||
author_email="[email protected]", | ||
url="https://github.com/coderedcorp/wagtail-cache", | ||
description="A simple page cache for Wagtail based on the Django cache middleware.", | ||
long_description=readme, | ||
long_description_content_type='text/markdown', | ||
long_description_content_type="text/markdown", | ||
license="BSD license", | ||
include_package_data=True, | ||
packages=find_packages(), | ||
install_requires=[ | ||
'wagtail>=2.0' | ||
], | ||
install_requires=["wagtail>=2.0"], | ||
classifiers=[ | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Natural Language :: English', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'Framework :: Django', | ||
'Framework :: Django :: 2.0', | ||
'Framework :: Django :: 2.1', | ||
'Framework :: Django :: 2.2', | ||
'Framework :: Django :: 3.0', | ||
'Framework :: Django :: 3.1', | ||
'Framework :: Wagtail', | ||
'Framework :: Wagtail :: 2', | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Natural Language :: English", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Framework :: Django", | ||
"Framework :: Django :: 2.0", | ||
"Framework :: Django :: 2.1", | ||
"Framework :: Django :: 2.2", | ||
"Framework :: Django :: 3.0", | ||
"Framework :: Django :: 3.1", | ||
"Framework :: Wagtail", | ||
"Framework :: Wagtail :: 2", | ||
], | ||
) |
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
Oops, something went wrong.