Add cell-scale-factor to jsonschema 62/12062/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 18 Nov 2023 17:00:50 +0000 (18:00 +0100)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 18 Nov 2023 17:00:55 +0000 (18:00 +0100)
- add jsonschema to runtime requirements

Issue-ID: OAM-392
Change-Id: Id92524b14ed59667b6e277cc0bc70862df1aa730
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
code/network-generator/CONTRIBUTING.md
code/network-generator/Makefile
code/network-generator/requirements.txt

index c062074..478386a 100644 (file)
@@ -17,13 +17,7 @@ This instructions are for linux base systems. (Linux, MacOS, BSD, etc.)
 ## Prerequisites
 
 ```
-pip install isort
-pip install black
-pip install mypy
-pip install flake8
-pip install pytest
-pip install coverage
-pip install pytest-cov
+sudo apt install python3.10-venv
 ```
 
 ## Setting up your own virtual environment
index 78ac7ca..ab2b357 100644 (file)
@@ -1,5 +1,5 @@
 .ONESHELL:
-ENV_PREFIX=$(shell python3 -c "if __import__('pathlib').Path('.venv/bin/pip').exists(): print('.venv/bin/')")
+ENV_PREFIX=$(shell python -c "if __import__('pathlib').Path('.venv/bin/pip').exists(): print('.venv/bin/')")
 USING_POETRY=$(shell grep "tool.poetry" pyproject.toml && echo "yes")
 
 .PHONY: help
@@ -25,7 +25,7 @@ install:          ## Install the project in dev mode.
        $(ENV_PREFIX)pip install -e .[test]
 
 .PHONY: format
-format:              ## Format code using black & isort.
+format:           ## Format code using black & isort.
        $(ENV_PREFIX)isort network_generation/
        $(ENV_PREFIX)black -l 79 network_generation/
        $(ENV_PREFIX)black -l 79 tests/
index de6de74..4957d9d 100644 (file)
@@ -12,4 +12,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# none at this point in time
\ No newline at end of file
+jsonschema