diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1d9bd8..1ac159f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/doc/source/index.rst b/doc/source/index.rst index d851f75..3464267 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -38,7 +38,7 @@ Reply options Hilight made easy. :: - + @bot.command(r'\!hello +([^ ]+)') def hello_someone(msg): msg.reply("Hello " + msg.args[0]) @@ -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]) @@ -147,4 +147,3 @@ Indices and tables * :ref:`genindex` * :ref:`modindex` * :ref:`search` - diff --git a/plugins/les_republicains_months.json b/plugins/les_republicains_months.json index 4ce960c..f8e1cf6 100644 --- a/plugins/les_republicains_months.json +++ b/plugins/les_republicains_months.json @@ -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]} \ No newline at end of file +{"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]}