EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit adee85b4 authored by Nikola Jankovic's avatar Nikola Jankovic :computer:
Browse files

added dev information and reduced mypy imports

parent 32505444
No related branches found
No related tags found
1 merge request!2added dev tooling and linting
Pipeline #19028 passed
......@@ -8,7 +8,29 @@ Contains core services for the View server - renderer and registrar
This repository uses `bump2version` for managing tags. To bump a version use
```
```shell
bump2version --new-version <new_version> # or bump2version <major|minor|patch>
git push && git push --tags
```
## Development
To setup for development run the following commands for your virtual env.
```shell
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -r requirements-test.txt
```
Flake8, mypy and black can be ran as commands from terminal:
```shell
flake8 # at the root folder
mypy . # at the root folder
black file.py # to autoformat a file. also possible with a path
```
Or these tools can also be integrated into your IDE/Editor.
- [VSCODE](https://code.visualstudio.com/docs/python/linting)
......@@ -5,37 +5,4 @@ ignore = W503,E203
[mypy]
exclude = (.venv|build|tests)
[mypy-jsonschema.*]
ignore_missing_imports = True
[mypy-setuptools.*]
ignore_missing_imports = True
[mypy-pystac.*]
ignore_missing_imports = True
[mypy-pygeofilter.*]
ignore_missing_imports = True
[mypy-boto3.*]
ignore_missing_imports = True
[mypy-botocore.*]
ignore_missing_imports = True
[mypy-lxml.*]
ignore_missing_imports = True
[mypy-osgeo.*]
ignore_missing_imports = True
[mypy-eoxserver.*]
ignore_missing_imports = True
[mypy-django.*]
ignore_missing_imports = True
[mypy-swiftclient.*]
ignore_missing_imports = True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment