Commit Graph

7547 Commits

Author SHA1 Message Date
Frédéric Péters 1a611d0ce7 trivial: fix assignment-from-no-return pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 575a06e6d2 trivial: fix assignment-from-none pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 6e1e665417 trivial: fix pylint duplicate-except warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters fc780d27a7 trivial: fix consider-using-ternary pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 531d15fd76 build: remove unnecessary init-hook from pylint configuration (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters eace88afc9 sql: declare loggederror id field as integer (#52666)
This is the default value, it avoids a DataError trace when using .get()
with a non-integer value.
2021-04-06 09:40:25 +02:00
Frédéric Péters 29ac5ab0d3 workflows: add history entry after successful edit action, not before (#52629) 2021-04-04 10:33:50 +02:00
Frédéric Péters 3fff9b48a5 misc: add basic odt support to block fields (#50030) 2021-04-04 10:33:50 +02:00
Frédéric Péters 17b135023d workflows: fix removal of existing form_details odt section (#52694) 2021-04-04 10:33:50 +02:00
Lauréline Guérin 71e5a74898
misc: pylint fix astroid-error (#52630)
************* Module tests.admin_pages.test_form
tests/admin_pages/test_form.py:1: [F0002(astroid-error), ]
<class 'RecursionError'>: maximum recursion depth exceeded

split testcase, it seems to fix the error
2021-04-02 16:27:18 +02:00
Lauréline Guérin f79705fa5e
misc: pylint various fix (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin b45ff4a9b9
misc: pylint fix global-statement, global-variable-not-assigned (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin fd7b28c05a
misc: pylint fix function-redefined (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin c80d8dc224
misc: pylint fix misplaced-comparison-constant (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin 0ba07f8b12
misc: pylint fix assert-on-string-literal (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin f93f513213
misc: pylint fix anomalous-backslash-in-string (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 5c49177e48
misc: pylint fix unidiomatic-typecheck (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 43807dadcd
misc: pylint fix singleton-comparison (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 5253275e37
misc: pylint fix unneeded-not (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 37e8d1adba
misc: pylint fix dangerous-default-value (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 8f450f5a2f
misc: pylint fix useless-object-inheritance (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 7e518f429b
misc: pylint fix singleton-comparison (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 66e6d16fdf
misc: pylint fix unused-variable (#52630) 2021-04-02 15:49:50 +02:00
Lauréline Guérin 8af3b1374c
misc: pylint fix bare-except (#52630) 2021-04-02 15:49:50 +02:00
Lauréline Guérin 7db86a547d
misc: pylint fix unused-wildcard-import (#52630) 2021-04-02 15:49:50 +02:00
Lauréline Guérin c71299d053
misc: pylint fix unused-import (#52630) 2021-04-02 15:49:50 +02:00
Lauréline Guérin a86d1156c1
misc: pylint on tests (#52630) 2021-04-02 15:01:21 +02:00
Frédéric Péters 2cf1be36ae translation update 2021-04-02 11:40:59 +02:00
Frédéric Péters 3a427853a3 settings: add search result template to minimal user templates page (#52665) 2021-04-02 11:39:53 +02:00
Frédéric Péters f3eb47d6f3 tests: check against specific db name in test_delete_tenant_with_sql (#52649) 2021-04-02 11:27:16 +02:00
Frédéric Péters 8f1bf215fd translation update 2021-04-02 10:25:43 +02:00
Lauréline Guérin 824dce61dc
settings: configure user search result template (#51343) 2021-04-02 10:17:54 +02:00
Emmanuel Cazenave 1b215ec7fd build: make it fail in case of pylint warnings (#52438) 2021-04-02 10:10:28 +02:00
Frédéric Péters 2b8a9a6252 cards: make id lookup work with display id (#52647) 2021-04-02 08:35:37 +02:00
Lauréline Guérin 3566e1cddc
backoffice: fix card data management breadcrumb (#52521) 2021-04-01 16:02:01 +02:00
Frédéric Péters cd2753527f misc: add SameSite cookie attribute (fix2 for erroneous merge) (#52356) 2021-03-31 13:24:48 +02:00
Frédéric Péters c87219431f misc: add SameSite cookie attribute (fix for erroneous merge) (#52356) 2021-03-31 09:36:43 +02:00
Frédéric Péters 1cfa8ec852 translation update 2021-03-31 09:27:50 +02:00
Frédéric Péters 15501a93e7 api: don't return deleted users (#52496) 2021-03-31 08:03:32 +02:00
Frédéric Péters d5cf589068 workflows: record error when user to assign cannot be found (#52068) 2021-03-31 08:03:32 +02:00
Frédéric Péters 86a24e5987 misc: add SameSite cookie attribute (#52356) 2021-03-31 08:03:32 +02:00
Lauréline Guérin c1909f5321
workflows: humanize size of export_to_model's document (#51941) 2021-03-30 19:26:34 +02:00
Lauréline Guérin 82cb70b26a
logged errors: log also standalone errors (#52045) 2021-03-30 18:49:58 +02:00
Frédéric Péters 8d9430f073 trivial: add isort reformats references to git blame ignore list 2021-03-30 14:09:55 +02:00
Frédéric Péters 08f1431a66 trivial: apply new isort configuration (#52504) 2021-03-30 13:42:22 +02:00
Frédéric Péters ebd2530296 trivial: update isort configuration to use black profile (#52504) 2021-03-30 13:40:50 +02:00
Frédéric Péters feb7590635 misc: refer to pylint codes, not numbers (#52484) 2021-03-30 13:03:40 +02:00
Frédéric Péters e8fbf9a60c build: update pylint disable list to actually happening warnings (#52484) 2021-03-30 13:03:40 +02:00
Frédéric Péters 8f43b58ba1 build: update pylint to disable errors by code, not number (#52484) 2021-03-30 13:03:40 +02:00
Frédéric Péters 0ba9759739 misc: remove unused imports (#52484) 2021-03-30 13:03:34 +02:00