Son Nguyen Kim
d49f6b88a9
Upgrade djlint and reformat all fiels ( #2197 )
...
* update djlint
* reformat all files
* update precommit version
---------
Co-authored-by: Son NK <son@simplelogin.io>
2024-08-28 13:07:34 +02:00
Adrià Casajús
31896ff262
Replace black and flake8 with ruff ( #1943 )
2023-11-21 16:42:18 +01:00
Adrià Casajús
3fcb37f246
Reformat base64 encoded messages to shorter lines ( #1575 )
...
* Reformat base64 encoded messages to shorter lines
* Remove storing debug versions
* Add example test email
* Update linelength to 76
* Revert changes in pre-commit
---------
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2023-02-21 15:28:06 +01:00
Adrià Casajús
8636659ca9
Update docs to the same port as the reset script + remove pre-commit pylint ( #1464 )
...
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-12-02 17:31:31 +01:00
Son Nguyen Kim
989358af34
Fix empty authorized address ( #1423 )
...
* not allow empty authorized address
* check authorized address before adding
* use github for flake8
* fix test
2022-11-15 16:04:31 +01:00
Adrià Casajús
046748c443
Update pre-commit ( #1138 )
...
* Update pre-commit
* Upgrade djlint, remove flake8 and add pylint
* Reformat with new djlint version
* Run pre-commit on CI
* Use only python3.10 on CI
* Reformat files with pre-commit
* Run pre-commit against all files
* Reformat
* Added global excludes
* Added pre-commit to the contributing file
* Set python 3.9 as default
* Set language version to python3
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: Carlos Quintana <carlos.quintana@proton.ch>
2022-07-04 16:01:04 +02:00
george
c415324932
Add flake8-bugbear
2022-02-06 20:37:43 +00:00
george
f7be992437
Update black, flake8 and pre-commit and use specific pre-commit versions.
2022-02-06 14:25:53 +00:00
Renaud Boyer
0e70e5cf18
flake8 hook
2020-12-06 22:18:58 +01:00
Son NK
ea43b8f685
Open PGP to everyone
2020-03-17 09:22:29 +01:00
Son NK
ed42a16b8e
Setup precommit
2020-03-15 19:16:00 +01:00