Static code checks used at Alphamoon
Set of simple static code checks at Alphamoon.
Package contains several plugins, as shown in Table below:
|import-check||Checks no imports from
|notebook-check||Checks notebooks (
|newline-check||Checks files (
|testdir-check||Checks test files (files matching patterns:
$ pip install pytest-alphamoon
You can add arbitrary plugin from this package by specifying its name in
section with plugin names as shown in Table above along with any other plugin you are currently using.
[pytest] addopts = --init-check --import-check --notebook-check --newline-check --testdir-check
After setting up configuration file specified checks are loaded and executed automatically within test session, after invoking command:
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
Distributed under the terms of the MIT license, "pytest-alphamoon" is free and open source software
If you encounter any problems, please email us at email@example.com, along with a detailed description.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pytest_alphamoon-0.1.11-py3-none-any.whl (9.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size pytest-alphamoon-0.1.11.tar.gz (7.6 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for pytest_alphamoon-0.1.11-py3-none-any.whl