Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Commit de336d3

Browse files
authored
Merge pull request #68 from kjaymiller/pre-commit
Run pre-commit on all files
2 parents b64368d + 81045e6 commit de336d3

File tree

8 files changed

+15
-11
lines changed

8 files changed

+15
-11
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ For answers to common questions about this code of conduct, see the FAQ at
129129
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130130
[Mozilla CoC]: https://github.com/mozilla/diversity
131131
[FAQ]: https://www.contributor-covenant.org/faq
132-
[translations]: https://www.contributor-covenant.org/translations
132+
[translations]: https://www.contributor-covenant.org/translations

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Contributing Content to Python Community News
2525

2626
> :white_check_mark: Review the [Code of Conduct](CODE_OF_CONDUCT.md) before adding a topic or issue in general.
2727
28-
You can add some things you want us to talk about by creating an
28+
You can add some things you want us to talk about by creating an
2929
[issue](https://github.com/kjaymiller/Python-Community-News/issues/new/choose).
3030

3131
![Add a Topic](.github/assets/Add%20Topic.gif)
@@ -44,7 +44,7 @@ We cover conferences and CFPs that are focused on the following topics:
4444
### To Add a Conference or CFP Announcement
4545
> :white_check_mark: Review the [Code of Conduct](CODE_OF_CONDUCT.md) before adding a topic or issue in general.
4646
47-
You can add a Conference/CFP by creating an
47+
You can add a Conference/CFP by creating an
4848
[issue](https://github.com/kjaymiller/Python-Community-News/issues/new/choose).
4949

5050
![Add a Conference](.github/assets/Add%20Conference.gif)

automation/templates/archive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ github: https://github.com/kjaymiller/Python-Community-News/blob/main/app/conten
2626
### Conferences
2727
{% for conference in conferences %}
2828
- [{{conference.title}}]({{conference.url}})
29-
{% endfor %}
29+
{% endfor %}

automation/templates/newsletter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ podcast: {{podcast}}
1818
https://youtube.com/watch/{{youtube}}
1919

2020
### Take the content on the road with you!
21-
https://transistor.fm/s/{{podcast}}
21+
https://transistor.fm/s/{{podcast}}

automation/tests/test_newsletter.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
import engine
77
import httpx
88
import pytest
9-
from newsletter import (build_email_from_content, get_publish_time,
10-
get_show_file, schedule_email_from_post)
9+
from newsletter import (
10+
build_email_from_content,
11+
get_publish_time,
12+
get_show_file,
13+
schedule_email_from_post,
14+
)
1115

1216

1317
def test_shownotes_date_creation(date, time):

site/static/tailwind.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/templates/archive.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
<h2><a href="{{post.url}}">{{ post.title }}</a></h2>
77
{% endfor %}
88
</div>
9-
{% endblock content %}
9+
{% endblock content %}

site/templates/new_post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
{% block content %}
55
<article class="prose">
6-
6+
77
<h1 class="title text-2xl font-bold">{{title}}<small class="px-3"><a href="{{github}}">[edit]</a></small></h1>
88
<iframe width="100%" height="180" frameborder="no" scrolling="no" seamless src="https://share.transistor.fm/e/{{podcast}}"></iframe>
99
{{content}}
1010
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{youtube}}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
1111
</article>
12-
{% endblock %}
12+
{% endblock %}

0 commit comments

Comments
 (0)