Boostsec mobsfscan Scanner
If you wish to automatically run make format lint on commit, you can use pre-commit
pre-commit install
make install: Create or synchronize your virtualenv with the poetry.lock filemake update: Run after any modification to the pyproject.toml. Will update the poetry.lock and synchronizes your virtualenv.make upgrade: Pull new changes from the template repo and upgrade the dependenciesmake format: Auto-format your codemake lint: Run lintersmake test: Run all tests, provides a coverage report
- To add a runtime dependency:
poetry add <dependency> - To add a testing dependency:
poetry add <dependency> --group dev - Or, simply edit the pyproject.toml and run
make update
Is the dependency required for consumers to use your .../testing module?
- Add the dependency to the runtime dependencies in this format
docker = { version = "^5.0.3", optional = true } - Add the optional dependency to the
testingextras[tool.poetry.extras] testing = [ "docker", ] - Run
make updateto lock and update your virtualenv