A set of analysis utilities for the Hyperstyle tool.
Simply clone the repository and run the following commands:
pip install -r requirements.txt
pip install -r requirements-test.txt
for testspip install -r requirements-roberta.txt
for roberta model
Note: you should set up the set of environment variables to Hyperstyle
work correctly.
Please, follow the Dockerfile
from the Hyperstyle
repository.
To check the environment is set up correctly you can output the variables in the terminal, e.g.
echo $DETEKT_DIRECTORY && echo $DETEKT_VERSION
They should not be empty.
TODO
We use pytest
library for tests.
Use pytest
from the root directory to run ALL tests.