Run the Hop Test against your python code repository
Project description
The Hop Test
At Hop Labs we strive to write high quality software. It's not easy to measure this empirically but we can measure some proximate signals for quality. That is what this tool is trying to achieve. We want to measure every thing we can about a code repository that is suggestive of high quality code.
For now we only support python projects.
Installation
You can install as a precommit hook:
# .pre-commit-hooks.yaml
repos:
- repo: git+ssh://git@github.com/hopservices/the-hop-test
rev: mast
hooks:
- id: the-hop-test
Soon: you can install without ssh keys to the private git repository.
Soon: you can install from pypi as
pip install hoptest
Usage
Run the script in the root of your repository
hoptest
Configuration
By default, the hoptest
will read configuration settings from
./hoptest.toml
, but you can specify where the file is with
hoptest --config path/to/hoptest.toml
An example config file looks like
# ./hoptest.toml
[tool.hoptest]
license_file = "custom-license.txt"
main_git_branch = "trunk"
skip_checks = ["logging"]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file the_hop_test-0.1.0.tar.gz
.
File metadata
- Download URL: the_hop_test-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d383a520e25a2cd3d87dbe31e451d0753c32319b8e4bac65a37fe419c1d8e9a0 |
|
MD5 | 8e5207494c359a4d100ce8dbcb66a282 |
|
BLAKE2b-256 | 1f3b0a6fd0acf9a89523facec1877bb60eac43da66e7b1c28aa12402e66cd938 |
File details
Details for the file the_hop_test-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: the_hop_test-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de45d054d79cdafc7c603129133e5b7b816fab707a5f65b45faaec7abe04147 |
|
MD5 | d1d897dd6680efb5ed583715f80958b8 |
|
BLAKE2b-256 | 62c2ba79a30aa4c2ae8021ea693a8bcd80efcb9f40709852c48d50747c98b634 |