mirror of
https://github.com/django-components/django-components.git
synced 2025-09-27 07:59:08 +00:00
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
This commit is contained in:
commit
20e365efbf
5 changed files with 18 additions and 23 deletions
|
@ -4,11 +4,11 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 21.8b0
|
rev: 21.10b0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/pycqa/flake8
|
- repo: https://github.com/pycqa/flake8
|
||||||
rev: 3.9.2
|
rev: 4.0.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
|
|
||||||
|
|
16
README.md
16
README.md
|
@ -92,6 +92,13 @@ TEMPLATES = [
|
||||||
<sub><b>Emil Stenström</b></sub>
|
<sub><b>Emil Stenström</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</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">
|
<td align="center">
|
||||||
<a href="https://github.com/ryanhiebert">
|
<a href="https://github.com/ryanhiebert">
|
||||||
<img src="https://avatars.githubusercontent.com/u/425099?v=4" width="100;" alt="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>
|
<sub><b>Rbeard0330</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</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">
|
<td align="center">
|
||||||
<a href="https://github.com/BradleyKirton">
|
<a href="https://github.com/BradleyKirton">
|
||||||
<img src="https://avatars.githubusercontent.com/u/6583221?v=4" width="100;" alt="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>
|
<head>
|
||||||
<title>My example calendar</title>
|
<title>My example calendar</title>
|
||||||
<link href="style.css" type="text/css" media="all" rel="stylesheet">
|
<link href="style.css" type="text/css" media="all" rel="stylesheet">
|
||||||
<script src="script.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="calendar-component">Today's date is <span>2015-06-19</span></div>
|
<div class="calendar-component">Today's date is <span>2015-06-19</span></div>
|
||||||
|
<script src="script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
<html>
|
<html>
|
||||||
```
|
```
|
||||||
|
|
|
@ -19,3 +19,5 @@ exclude = '''
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
profile = "black"
|
profile = "black"
|
||||||
multi_line_output = 3
|
multi_line_output = 3
|
||||||
|
include_trailing_comma = "True"
|
||||||
|
known_first_party = "django_components"
|
||||||
|
|
|
@ -12,13 +12,13 @@ attrs==20.3.0
|
||||||
# via pytest
|
# via pytest
|
||||||
distlib==0.3.1
|
distlib==0.3.1
|
||||||
# via virtualenv
|
# via virtualenv
|
||||||
django==3.2.7
|
django==3.2.9
|
||||||
# via -r requirements-dev.in
|
# via -r requirements-dev.in
|
||||||
filelock==3.0.12
|
filelock==3.0.12
|
||||||
# via
|
# via
|
||||||
# tox
|
# tox
|
||||||
# virtualenv
|
# virtualenv
|
||||||
flake8==3.9.2
|
flake8==4.0.1
|
||||||
# via -r requirements-dev.in
|
# via -r requirements-dev.in
|
||||||
iniconfig==1.1.1
|
iniconfig==1.1.1
|
||||||
# via pytest
|
# via pytest
|
||||||
|
@ -38,9 +38,9 @@ py==1.10.0
|
||||||
# via
|
# via
|
||||||
# pytest
|
# pytest
|
||||||
# tox
|
# tox
|
||||||
pycodestyle==2.7.0
|
pycodestyle==2.8.0
|
||||||
# via flake8
|
# via flake8
|
||||||
pyflakes==2.3.1
|
pyflakes==2.4.0
|
||||||
# via flake8
|
# via flake8
|
||||||
pyparsing==2.4.7
|
pyparsing==2.4.7
|
||||||
# via packaging
|
# via packaging
|
||||||
|
@ -52,13 +52,13 @@ six==1.15.0
|
||||||
# via
|
# via
|
||||||
# tox
|
# tox
|
||||||
# virtualenv
|
# virtualenv
|
||||||
sqlparse==0.4.1
|
sqlparse==0.4.2
|
||||||
# via django
|
# via django
|
||||||
toml==0.10.2
|
toml==0.10.2
|
||||||
# via
|
# via
|
||||||
# pytest
|
# pytest
|
||||||
# tox
|
# tox
|
||||||
tox==3.24.3
|
tox==3.24.4
|
||||||
# via -r requirements-dev.in
|
# via -r requirements-dev.in
|
||||||
virtualenv==20.4.3
|
virtualenv==20.4.3
|
||||||
# via tox
|
# via tox
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E302,W503
|
ignore = E302,W503
|
||||||
max-line-length = 119
|
max-line-length = 119
|
||||||
|
|
||||||
[isort]
|
|
||||||
line_length = 119
|
|
||||||
multi_line_output = 5
|
|
||||||
include_trailing_comma = True
|
|
||||||
known_first_party =
|
|
||||||
django_components
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue