diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c186d738..520d9211 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,11 +4,11 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 21.8b0 + rev: 21.10b0 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 3.9.2 + rev: 4.0.1 hooks: - id: flake8 diff --git a/README.md b/README.md index 4dde345c..5535ed5a 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,13 @@ TEMPLATES = [ Emil Stenström + + + hanifbirgani +
+ Hanif Birgani +
+ ryanhiebert @@ -106,13 +113,6 @@ TEMPLATES = [ Rbeard0330 - - - hanifbirgani -
- Hanif Birgani -
- BradleyKirton @@ -237,10 +237,10 @@ The output from the above template will be: My example calendar -
Today's date is 2015-06-19
+ ``` diff --git a/pyproject.toml b/pyproject.toml index 37cb872f..cfa5c376 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,3 +19,5 @@ exclude = ''' [tool.isort] profile = "black" multi_line_output = 3 +include_trailing_comma = "True" +known_first_party = "django_components" diff --git a/requirements-dev.txt b/requirements-dev.txt index 89e81fe1..bed5bcc2 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -12,13 +12,13 @@ attrs==20.3.0 # via pytest distlib==0.3.1 # via virtualenv -django==3.2.7 +django==3.2.9 # via -r requirements-dev.in filelock==3.0.12 # via # tox # virtualenv -flake8==3.9.2 +flake8==4.0.1 # via -r requirements-dev.in iniconfig==1.1.1 # via pytest @@ -38,9 +38,9 @@ py==1.10.0 # via # pytest # tox -pycodestyle==2.7.0 +pycodestyle==2.8.0 # via flake8 -pyflakes==2.3.1 +pyflakes==2.4.0 # via flake8 pyparsing==2.4.7 # via packaging @@ -52,13 +52,13 @@ six==1.15.0 # via # tox # virtualenv -sqlparse==0.4.1 +sqlparse==0.4.2 # via django toml==0.10.2 # via # pytest # tox -tox==3.24.3 +tox==3.24.4 # via -r requirements-dev.in virtualenv==20.4.3 # via tox diff --git a/setup.cfg b/setup.cfg index ccd56a57..6f0f07e4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,3 @@ [flake8] ignore = E302,W503 max-line-length = 119 - -[isort] -line_length = 119 -multi_line_output = 5 -include_trailing_comma = True -known_first_party = - django_components