Skip to main content

A collection of scripts to build C++ projects

Project description

Unit tests Test coverage Coding style GitHub

Bob is my collection of build tools. The goal is to provide a simple interface to build and test projects without having to remember or lookup various commands.

For now, this project limits itself to C/C++ projects.

How to use

bob build

Requirements

  • Python 3.8+

  • git

Development

  1. Setup a virtual environment and activate it:

python3 -m venv .env_dev
. .env_dev/bin/activate
  1. Install locally:

pip install --editable .[dev]
  1. Test:

pytest

Run the complete test-suite

  1. Setup a virtual environment and activate it:

python -m venv .env_tox
. .env_tox/bin/activate
  1. Install locally:

pip install --editable .[tox]
  1. Test:

tox .

Configured tools

  1. black for code formatting.

  2. flake8 for linting with:

    • static analysis (flake8-bandit, flake8-bugbear)

    • type annotations (flake8-annotations)

    • documentation style checks (flake8-docstrings)

    • code style checks (flake8-black, flake8-import-order)

  3. pylint for linting.

  4. bandit for static analysis.

  5. mypy for static type checking.

Roadmap

  1. Python support

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

bob-the-developer-0.2.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

bob_the_developer-0.2.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file bob-the-developer-0.2.0.tar.gz.

File metadata

  • Download URL: bob-the-developer-0.2.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for bob-the-developer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c8a48e514ce74ed534b466424842725227cd9b617535f149b532cb78d77ab354
MD5 79464ed829b47f9575b6bd3a90244c06
BLAKE2b-256 dda9f9ba081081a1a57f2581d482defe4430fee9a89cca9edd182a11ec2c39d0

See more details on using hashes here.

File details

Details for the file bob_the_developer-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bob_the_developer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3df52494857db207a2a2c0c01ea64be2371956cc2b2608daca856b7635c67ff2
MD5 92e2ca2ad0030b9803d486eb9001e250
BLAKE2b-256 c901bd2f733b7c915f044eb59311930676edbc18fdbce796b45397b3fa488ab8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page