Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pre commit config #170

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
repos:
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: ^data/
- id: check-added-large-files
exclude: ^data/

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
5 changes: 2 additions & 3 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Reply options
Hilight made easy.

::

@bot.command(r'\!hello +([^ ]+)')
def hello_someone(msg):
msg.reply("Hello " + msg.args[0])
Expand All @@ -48,7 +48,7 @@ Hilight made easy.
Reply in private conversation is also this simple:

::

@bot.command(r'\!hello +([^ ]+)')
def hello_someone(msg):
msg.reply("Hello " + msg.args[0])
Expand Down Expand Up @@ -147,4 +147,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

2 changes: 1 addition & 1 deletion plugins/les_republicains_months.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Vendémiaire":[22,9,21,10],"Brumaire":[22,10,20,11],"Frimaire":[21,11,20,12],"Nivôse":[21,12,19,1],"Pluviôse":[20,1,18,2],"Ventôse":[19,2,20,3],"Germinal":[21,3,19,4],"Floréal":[20,4,19,5],"Prairial":[20,5,18,6],"Messidor":[19,6,18,7],"Thermidor":[19,7,17,8],"Fructidor":[18,8,16,9]}
{"Vendémiaire":[22,9,21,10],"Brumaire":[22,10,20,11],"Frimaire":[21,11,20,12],"Nivôse":[21,12,19,1],"Pluviôse":[20,1,18,2],"Ventôse":[19,2,20,3],"Germinal":[21,3,19,4],"Floréal":[20,4,19,5],"Prairial":[20,5,18,6],"Messidor":[19,6,18,7],"Thermidor":[19,7,17,8],"Fructidor":[18,8,16,9]}