This commit is contained in:
Emil Stenström 2021-11-01 23:07:34 +01:00
commit 20e365efbf
5 changed files with 18 additions and 23 deletions

View file

@ -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

View file

@ -92,6 +92,13 @@ TEMPLATES = [
<sub><b>Emil Stenström</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/hanifbirgani">
<img src="https://avatars.githubusercontent.com/u/53351186?v=4" width="100;" alt="hanifbirgani"/>
<br />
<sub><b>Hanif Birgani</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/ryanhiebert">
<img src="https://avatars.githubusercontent.com/u/425099?v=4" width="100;" alt="ryanhiebert"/>
@ -106,13 +113,6 @@ TEMPLATES = [
<sub><b>Rbeard0330</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/hanifbirgani">
<img src="https://avatars.githubusercontent.com/u/53351186?v=4" width="100;" alt="hanifbirgani"/>
<br />
<sub><b>Hanif Birgani</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/BradleyKirton">
<img src="https://avatars.githubusercontent.com/u/6583221?v=4" width="100;" alt="BradleyKirton"/>
@ -237,10 +237,10 @@ The output from the above template will be:
<head>
<title>My example calendar</title>
<link href="style.css" type="text/css" media="all" rel="stylesheet">
<script src="script.js"></script>
</head>
<body>
<div class="calendar-component">Today's date is <span>2015-06-19</span></div>
<script src="script.js"></script>
</body>
<html>
```

View file

@ -19,3 +19,5 @@ exclude = '''
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = "True"
known_first_party = "django_components"

View file

@ -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

View file

@ -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