InvenTree/InvenTree/common
Matthias Mair abee2cee88
Code style improvements (#4683)
* fix list comps

* mopre comp fixes

* reduce computing cost on any() calls

* add bugbear

* check for clean imports

* only allow limited relative imports

* fix notification method lookup

* fix notification method assigement

* rewrite assigment

* fix upstream changes to new style

* fix upstream change to new coding style
2023-04-28 20:49:53 +10:00
..
fixtures fix endline 2022-05-20 13:35:07 +02:00
migrations Project code support (#4636) 2023-04-20 00:47:07 +10:00
__init__.py startapp common 2019-09-03 08:30:14 +10:00
admin.py Add news reader (#3445) 2022-11-10 12:20:06 +11:00
api.py Add ordering and search to ProjectCodeList API endpoint (#4645) 2023-04-20 22:51:47 +10:00
apps.py Prevent write of SERVER_RESTART_REQUIRED setting when importing dataset (#3249) 2022-06-24 20:42:55 +10:00
files.py Code style improvements (#4683) 2023-04-28 20:49:53 +10:00
forms.py Remove SettingEditForm (#3964) 2022-11-19 23:10:02 +11:00
models.py Code style improvements (#4683) 2023-04-28 20:49:53 +10:00
notifications.py Code style improvements (#4683) 2023-04-28 20:49:53 +10:00
serializers.py Project code support (#4636) 2023-04-20 00:47:07 +10:00
settings.py Code style improvements (#4683) 2023-04-28 20:49:53 +10:00
tasks.py Catch error if notes directory does not exist (#4638) 2023-04-19 22:41:19 +10:00
test_notifications.py Adds callback for creation of an error log (#3136) 2022-06-06 15:21:31 +10:00
test_tasks.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_views.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tests.py Project code support (#4636) 2023-04-20 00:47:07 +10:00
urls.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
views.py Switch to pathlib (#3392) 2022-07-27 10:42:34 +10:00