-
Notifications
You must be signed in to change notification settings - Fork 46
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
7 changed files
with
174 additions
and
32 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,34 @@ | ||
repos: | ||
# Need to drop python 3.5 and 3.6 before we include python upgrade | ||
# - repo: https://github.com/asottile/pyupgrade | ||
# rev: v2.31.0 | ||
# hooks: | ||
# - id: pyupgrade | ||
# args: ["--py37-plus"] | ||
|
||
- repo: https://github.com/adamchainz/django-upgrade | ||
rev: '1.4.0' | ||
hooks: | ||
- id: django-upgrade | ||
args: [--target-version, "2.2"] | ||
|
||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
|
||
- repo: https://github.com/asottile/yesqa | ||
rev: v1.3.0 | ||
hooks: | ||
- id: yesqa | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.1.0 | ||
hooks: | ||
- id: check-merge-conflict | ||
- id: mixed-line-ending | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort |
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 |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
Changelog | ||
========= | ||
|
||
unreleased | ||
========== | ||
|
||
|
||
3.0.0 (2020-09-02) | ||
================== | ||
|
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,6 @@ | ||
bump2version | ||
django-cms>=3.7 | ||
django-treebeard>=4.3,<4.5 | ||
pip-tools | ||
pre-commit | ||
wheel |
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,77 @@ | ||
# | ||
# This file is autogenerated by pip-compile with python 3.9 | ||
# To update, run: | ||
# | ||
# pip-compile | ||
# | ||
--trusted-host pypi.python.org | ||
--trusted-host pypi.org | ||
--trusted-host files.pythonhosted.org | ||
|
||
asgiref==3.5.0 | ||
# via django | ||
bump2version==1.0.1 | ||
# via -r requirements.in | ||
cfgv==3.3.1 | ||
# via pre-commit | ||
click==8.0.3 | ||
# via pip-tools | ||
distlib==0.3.4 | ||
# via virtualenv | ||
django==4.0.1 | ||
# via | ||
# django-classy-tags | ||
# django-cms | ||
# django-formtools | ||
# django-sekizai | ||
# django-treebeard | ||
django-classy-tags==3.0.0 | ||
# via | ||
# django-cms | ||
# django-sekizai | ||
django-cms==3.9.0 | ||
# via -r requirements.in | ||
django-formtools==2.3 | ||
# via django-cms | ||
django-sekizai==3.0.0 | ||
# via django-cms | ||
django-treebeard==4.4 | ||
# via | ||
# -r requirements.in | ||
# django-cms | ||
djangocms-admin-style==3.0.0 | ||
# via django-cms | ||
filelock==3.4.2 | ||
# via virtualenv | ||
identify==2.4.4 | ||
# via pre-commit | ||
nodeenv==1.6.0 | ||
# via pre-commit | ||
pep517==0.12.0 | ||
# via pip-tools | ||
pip-tools==6.4.0 | ||
# via -r requirements.in | ||
platformdirs==2.4.1 | ||
# via virtualenv | ||
pre-commit==2.17.0 | ||
# via -r requirements.in | ||
pyyaml==6.0 | ||
# via pre-commit | ||
six==1.16.0 | ||
# via virtualenv | ||
sqlparse==0.4.2 | ||
# via django | ||
toml==0.10.2 | ||
# via pre-commit | ||
tomli==2.0.0 | ||
# via pep517 | ||
virtualenv==20.13.0 | ||
# via pre-commit | ||
wheel==0.37.1 | ||
# via | ||
# -r requirements.in | ||
# pip-tools | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# pip | ||
# setuptools |
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,53 @@ | ||
[bumpversion] | ||
current_version = 3.0.0 | ||
commit = True | ||
tag = False | ||
|
||
[bumpversion:file:setup.py] | ||
search = version='{current_version}' | ||
replace = version='{new_version}' | ||
|
||
[bumpversion:file:djangocms_snippet/__init__.py] | ||
search = __version__ = '{current_version}' | ||
replace = __version__ = '{new_version}' | ||
|
||
[bumpversion:file:CHANGELOG.rst] | ||
search = | ||
unreleased | ||
========== | ||
replace = | ||
unreleased | ||
========== | ||
|
||
{new_version} {utcnow:%%Y-%%m-%%d} | ||
================ | ||
|
||
[flake8] | ||
max-line-length = 119 | ||
exclude = | ||
*.egg-info, | ||
.eggs, | ||
.env, | ||
.git, | ||
.settings, | ||
.tox, | ||
.venv, | ||
build, | ||
data, | ||
dist, | ||
docs, | ||
*migrations*, | ||
requirements, | ||
tmp | ||
|
||
[isort] | ||
line_length = 79 | ||
skip = manage.py, *migrations*, .tox, .eggs, data, .venv, .env | ||
include_trailing_comma = true | ||
multi_line_output = 5 | ||
lines_after_imports = 2 | ||
default_section = THIRDPARTY | ||
sections = FUTURE, STDLIB, DJANGO, CMS, THIRDPARTY, FIRSTPARTY, LOCALFOLDER | ||
known_first_party = djangocms_snippet | ||
known_cms = cms, menus | ||
known_django = django |
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