2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Some small style fixes (#6916)

* fix dockerfile syntax

* remove unused import

* Merge unnecessary if statements

* fix PUI package name

* remove unused vars

* Remove unneeded pass

* merge if to reduce likelyhood of future errors

* add ignroe script to secure against shell scripts

* fix possible collisions

* export strings

* fix types
This commit is contained in:
Matthias Mair
2024-04-03 09:26:03 +01:00
committed by GitHub
parent 6be2ede5e8
commit 85e672831b
29 changed files with 96 additions and 107 deletions

View File

@ -125,8 +125,8 @@ def generate_index_file(version: str):
f.write(output)
def extract_refs(data: dict, components: dict) -> list:
"""Extract a list of refs from the provided paths dict.
def extract_refs(data: dict, components: dict) -> dict:
"""Extract a dict of refs from the provided paths dict.
The refs are located like so:
<path>:<method>:responses:<status>:content:application/json:schema:$ref