oceanprotocol / pdr-backend

Instructions & code to run predictoors, traders, more.
Apache License 2.0
22 stars 15 forks source link

[UX] In dev README, show linter commands to run, to be in line with CI #1252

Closed trentmc closed 1 week ago

trentmc commented 1 week ago

Approach that's not in line with CI:

black ./
pylint pdr_backend/*
mypy ./

Where to get info about how CI does it: ~/.github/workflows/{black.yml, pylint.yml, mypy.yml}

Approach that's in line with CI:

black --check .
pylint --rcfile .pylintrc * pdr_backend/*
mypy --config-file mypy.ini ./