Skip to content

Latest commit

 

History

History

configurations

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Certego

✍️ Configurations

🧰 Configurations linters and formatters

In linters folders are our standard configurations for linters and formatters, for Python and Node.js

Python

See here

Node.js

See here


🔄 Test

Python

By default it uses python unittest. To use locally, install these dependencies:

pip install coverage

To add additional dependecies to CI, insert them in requirements-dev.txt file (inside <requirements_path> folder).

Node.js

To use locally, install these dependencies:

npm i -D jest @testing-library/jest-dom babel-jest @babel/core @babel/preset-env

To add React support, install:

npm i -D @testing-library/jest-dom @testing-library/react

To launch:

npm run test

📋 Coverage

Python

To use locally, install these dependencies:

pip install coverage

To add additional dependecies to CI, insert them in requirements-dev.txt file (inside <requirements_path> folder).

Node.js

To use locally, install test dependencies, and run:

npm run test-coverage

📓 Docs

Python

To use locally, install these dependencies:

pip install rstcheck[sphinx] sphinx sphinx_rtd_theme phinxcontrib-spelling sphinxcontrib-django2

To add additional dependecies to CI, insert them in requirements-docs.txt file (inside <requirements_path> folder).

Node.js

W.I.P.