Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (38 sloc) 1.87 KB

Code

The generator does not write any code for you, but it will generate an empty package or module based on your choice. The tests directory will be created for you, but you'll need to add the first test.

This sample project has a single-file module (project_template.py 🔗) and one test (test_greeting.py 🔗).

Quality

There are a few tools installed to help you maintain high code quality. All of these are executed with the lint :doc:`script <scripts>`:

$ poetry run invoke lint
Tool Reason
mypy Type-checking.
pylint Static analysis and PEP 8 (code style) conformance.
pydocstyle PEP 257 (docstring style) conformance.

There is a Pylint configuration in .pylintrc 🔗. Its settings are documented there. To learn how to enable, disable, or configure Pylint's diagnostics, consult the documentation on message control or take a look at Pylint's own configuration file.

You can’t perform that action at this time.