plwordnet issueshttps://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/issues2023-10-31T13:55:27Zhttps://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/issues/4Add docs and fix style2023-10-31T13:55:27ZBartosz WalkowiakAdd docs and fix styleWork on branch [develop](https://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/tree/develop?ref_type=heads)
- Remember that this is python3.6 so some of new features do not work (like `f"STH {value}"`)
- Change [main](https://gitlab.clari...Work on branch [develop](https://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/tree/develop?ref_type=heads)
- Remember that this is python3.6 so some of new features do not work (like `f"STH {value}"`)
- Change [main](https://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/blob/develop/main.py) to new standard and change [main run](https://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/blob/develop/entrypoint.py#L21)
- Add more docs in sphinx format to [worker module](https://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/blob/develop/src/plwordnet_worker.py)
- Move [this](https://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/blob/develop/src/plwordnet_worker.py#L129) to constant
- Add new lines between stage in [gitlab-ci](https://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/blob/develop/.gitlab-ci.yml)
- Use template for before script, example:
```
.check_style_template:
before_script:
- pip install tox==3.18.1
pep8:
extends: .check_style_template
stage: check_style
script:
- tox -v -e pep8
```
- new main standard: https://gitlab.clarin-pl.eu/nlpworkers/archive_extractor/-/blob/master/main.py
- change run: `run(["python3.6", "main.py", "service"])` into `run(["python3.6", "main.py"])`https://gitlab.clarin-pl.eu/lexworkers/plwordnet/-/issues/3Dockerfile adjustments2020-09-10T10:06:27ZMateusz GniewkowskiDockerfile adjustments1. Entrypoint should always be in /entrypoint.sh (not /home/worker/entrypoint.sh)
2. Do not use CMD command for running entrpoint.sh (use ENTRYPOINT and learn about the difference)1. Entrypoint should always be in /entrypoint.sh (not /home/worker/entrypoint.sh)
2. Do not use CMD command for running entrpoint.sh (use ENTRYPOINT and learn about the difference)