Matthias
e01918e607
add more docstrings for plugin app
2022-05-29 03:02:54 +02:00
Matthias
6c25872f81
Merge branch 'docupdates' of https://github.com/matmair/InvenTree into docupdates
2022-05-29 01:28:29 +02:00
Matthias
24fb68bd3e
Make API code cleaner
2022-05-29 01:28:06 +02:00
Matthias
c24882bf66
Add missing args to docstrings
2022-05-28 20:27:20 +02:00
Matthias
ff9873f92c
update support files for docstrings
2022-05-28 19:06:07 +02:00
Matthias
e4d9fcdb30
fix function name
2022-05-28 18:26:15 +02:00
Matthias
b74826c4d0
small docstring changes
2022-05-28 18:25:22 +02:00
Matthias
93a1bf165d
update the remaining docstrings
2022-05-28 18:06:23 +02:00
Matthias
1e90900918
docstring adjustments
2022-05-28 15:23:57 +02:00
Matthias
60f13ad2e8
fix docstrings 10
2022-05-28 03:39:01 +02:00
Matthias
6b4df40117
fix docstirns 9
2022-05-28 03:18:07 +02:00
Matthias
d98723160a
fix docstrings 8
2022-05-28 03:13:19 +02:00
Matthias
d3d0b76c58
fix docstrings 7
2022-05-28 03:04:48 +02:00
Matthias
bd4da62964
fix docstrings 6
2022-05-28 02:57:42 +02:00
Matthias
391c8b4ac1
fix docstrings 5
2022-05-28 02:51:15 +02:00
Matthias
61287dba2b
fix docstrings 4
2022-05-28 02:43:33 +02:00
Matthias
cb6fd63343
fix docstrings 3
2022-05-28 02:27:28 +02:00
Matthias
80510e8ba2
fix docstrings 2
2022-05-28 02:14:25 +02:00
Matthias
9b40fddf7c
reformat comments 1
2022-05-28 02:04:02 +02:00
Matthias
959e4bb28e
update to merge
2022-05-28 01:11:16 +02:00
Matthias
9c4c2c434f
Merge branch 'ci-updates' into docupdates
2022-05-28 01:09:14 +02:00
Matthias
867882f521
Change step / job docstrings
2022-05-28 00:59:40 +02:00
Matthias
9795abcb9e
use relativ action references
2022-05-28 00:41:29 +02:00
Matthias
892181ea75
add docstring test
2022-05-28 00:35:04 +02:00
Matthias
9c80be52b3
continue on error
2022-05-28 00:30:30 +02:00
Matthias
6bac19daff
update references
2022-05-28 00:27:59 +02:00
Matthias
899e5b49c8
remove docstyle till that is fixed
2022-05-28 00:24:55 +02:00
Matthias
4153882543
move setup keys back to not disturbe tests
2022-05-28 00:06:50 +02:00
Matthias
f35d618b6b
refactor import export tests
2022-05-27 23:36:14 +02:00
Matthias
4ffad66191
revert back to simple wheel
2022-05-27 23:35:21 +02:00
Matthias
d37f66f17c
switch to install
2022-05-27 23:22:26 +02:00
Matthias
0b01b45d7b
install wheel by python
2022-05-27 23:18:57 +02:00
Matthias
94e8dd3af2
no relative paths
2022-05-27 23:14:16 +02:00
Matthias
d129eb6610
fix boolean
2022-05-27 23:12:36 +02:00
Matthias
b120a297c5
make code cleaner
2022-05-27 23:03:20 +02:00
Matthias
11ffd41745
update input checks
2022-05-27 22:44:52 +02:00
Matthias
38ac32825f
remove os from cache
2022-05-27 22:38:38 +02:00
Matthias
7aa983cb0c
add bash statements
2022-05-27 22:36:49 +02:00
Matthias
fdaaf7ecf4
resturcture
2022-05-27 22:33:59 +02:00
Matthias
f5f7b36926
switch to action
2022-05-27 22:30:35 +02:00
Matthias
550a2480b5
update reference
2022-05-27 22:11:47 +02:00
Matthias
deb361f70c
refactor setup into workflow
2022-05-27 22:08:55 +02:00
Matthias
a379813711
do not fail on docstring
2022-05-27 22:06:36 +02:00
Matthias
6bca3762c9
update flake call
2022-05-27 21:57:41 +02:00
Matthias
80d0d38350
Add seperate docstring test
2022-05-27 21:29:15 +02:00
Matthias
13c6b29bb3
ignore docstyle errors
2022-05-27 21:28:11 +02:00
Matthias
0dfa39ecea
Github can't do this right now
2022-05-27 21:16:31 +02:00
Matthias
5c3669aa00
use matrix for os
2022-05-27 21:03:08 +02:00
Matthias
3a7732003e
remove incidential change
2022-05-27 20:44:23 +02:00
Matthias
0dd8f02506
fix references
2022-05-27 20:43:31 +02:00
Matthias
31575a03c1
fix runner version
2022-05-27 20:39:53 +02:00
Matthias
0bbe8586bf
refactor names to be similar
2022-05-27 20:36:41 +02:00
Matthias
e56a75e255
use python3
2022-05-27 20:33:02 +02:00
Matthias
1eb291555b
make setup actions more similar
2022-05-27 20:31:59 +02:00
Matthias
e5f6fcf6bd
Use invoke instead of static references
2022-05-27 20:24:03 +02:00
Matthias
d3011e8127
just use full update
2022-05-27 20:22:02 +02:00
Matthias
7aea8894a0
move regular settings up into general envs
2022-05-27 20:16:36 +02:00
Matthias
7d27f0842b
use step and cache for python setup
2022-05-27 20:12:31 +02:00
Matthias
ca0cba36c2
Use the same code for python setup everywhere
2022-05-27 20:10:51 +02:00
Matthias
9dd77858fd
make template matching simpler
2022-05-27 20:05:40 +02:00
Matthias
a836a1b5a0
also wait on precommit
2022-05-27 20:02:35 +02:00
Matthias
aced415802
rename pipeline steps
2022-05-27 20:01:33 +02:00
Matthias
793009215c
fix style errors
2022-05-27 19:54:44 +02:00
Matthias
4a8e4b0bfb
Add locales to excludes
2022-05-27 19:49:24 +02:00
Matthias
773a162179
exclude static
2022-05-27 19:06:08 +02:00
Matthias
d48500dbb5
Add pre-commit to the stack
2022-05-27 18:52:34 +02:00
Matthias Mair and GitHub
dcffd9a3cf
Add codeowners ( #3079 )
...
* Add codeowners
* use direct user handles
2022-05-27 11:04:40 +10:00
Matthias Mair and GitHub
1c6e5f0f20
More plugin testing ( #3052 )
...
* Add a check of a child panel too
* do not cover error catching
* test for implementation error
* Add warning to test for
* Add test for event_sample
* ignore safety switches
* Add a settings flag to enable event testing
* test if not implemented is raises
* raise plugin specific errors
* use plugin specific error
* fix assertation
* add test for mixin
* this point can't be reached
* add tests for locate plugin
* fix assertations
* fix function call
* refert switch
* this is already caught by the internal API
* also cover mixin redirect
2022-05-24 09:23:06 +10:00
Matthias Mair and GitHub
a7ef560ee3
remove dead code ( #3054 )
...
no references are found in the code
2022-05-24 09:20:59 +10:00
840ade25cd
Label printing unit test ( #3047 )
...
* Adds a very simple sample plugin for label printing
* Test mixin install status and API query
* Better error reporting for label printing API
* pep fixes
* fix assertation
* remove broken assertation
* igonre for coverage
* test the base process of printing
* refactor tests
* clean up basic test
* refactor url
* fix url creation
* test printing multiples
* test all printing endpoints
* test all list options - move api tests
* test for invalid filters
* refactor
* test with no part
* these should not happen
checks are in place upstream
* fix assertation
* do not cover continue parts
* test for wrong implementation
* ignore DB not ready
* remove covage from default parts
* fix url generation
* test debug mode
* fix url assertation
* check that nothing was rendered
Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com >
2022-05-23 08:54:44 +10:00
Matthias Mair and GitHub
6247eecf69
Exclude testing exceptions from coverage ( #3046 )
...
* exclude testing excetions
* check user str
* check related users
* move no coverage marker
* fix assertation
* add test for filters
* do not cover logs
2022-05-22 15:54:13 +10:00
Matthias Mair
5805685c48
Merge branch 'master' of https://github.com/inventree/InvenTree into style-fixes
2022-05-21 23:57:41 +02:00
Matthias Mair
22adc37242
fix import
2022-05-21 02:40:45 +02:00
Matthias Mair
e1ff4b6e87
more class use
2022-05-20 23:01:20 +02:00
Matthias Mair
43f714b96c
use variable for values and up the all
2022-05-20 19:57:13 +02:00
Matthias Mair
9af0b981e7
fix class to enable userlogin
2022-05-20 19:14:35 +02:00
Matthias Mair
6ef8c3dc83
run as admin
2022-05-20 19:11:21 +02:00
Matthias Mair
b7a501f42c
log out first
2022-05-20 19:09:51 +02:00
Matthias Mair
43a2442f02
add usermodel back in
2022-05-20 18:53:33 +02:00
Matthias Mair
556b7036aa
remove repo name from assertations
...
this breaks on other runners (gitlab, azure devops) as they handle repo names in another way
2022-05-20 18:42:41 +02:00
Matthias Mair
9b15d88d5f
fix rule assign
2022-05-20 18:34:45 +02:00
Matthias Mair
45a9a4d0c5
add in missing class references
2022-05-20 17:55:11 +02:00
Matthias Mair
799af89312
style fixes
2022-05-20 17:45:04 +02:00
Matthias Mair
a148dbf303
refactor 'all' role
2022-05-20 17:43:51 +02:00
Matthias Mair
c50456297e
fix assertation
2022-05-20 17:27:08 +02:00
Matthias Mair
4868947be0
remove comments from imports
2022-05-20 17:25:50 +02:00
Matthias Mair
e1d22f538d
resort imports
2022-05-20 17:24:51 +02:00
Matthias Mair
ddc4ef3c38
pep fix
2022-05-20 13:37:12 +02:00
Matthias Mair
74726f0fda
fix endline
2022-05-20 13:35:07 +02:00
Matthias Mair
93b6934127
fix trailing
2022-05-20 13:20:55 +02:00
Matthias Mair
9f922f06ff
fix more imports
2022-05-20 12:53:04 +02:00
Matthias Mair
a6f7a29817
fix import path
2022-05-20 12:48:03 +02:00
Matthias Mair
04ce4fa697
readd config
2022-05-20 12:38:15 +02:00
Matthias Mair
e8287f02d4
rename
2022-05-20 12:33:51 +02:00
Matthias Mair
42d325e7ca
fix spelling
2022-05-20 12:33:28 +02:00
Matthias Mair
3a1996dd48
PEP fix
2022-05-20 12:32:25 +02:00
Matthias Mair
023ff3c85a
Merge branch 'master' of https://github.com/inventree/InvenTree into test-simplify
2022-05-20 12:13:31 +02:00
Matthias Mair
0d5dea3e6d
refactor test setup
2022-05-20 12:12:32 +02:00
Matthias Mair and GitHub
63c64f9dff
Update apps.py
2022-05-20 08:31:21 +02:00
Matthias Mair and GitHub
c98cae8c1f
switch print with assert
2022-05-20 08:19:14 +02:00