Skip to main content

Convert base-10 ints to base-8.

Project description

octal8

Convert all base-10 integers to base-8.

installation

pip install octal8

Usage

usage: octal8 [-h] [filename ...]

positional arguments:
filename

options:
-h, --help  show this help message and exit

The script will replace al base-10 integers with base-8 integers in the passed files.

As a pre-commit hook

See pre-commit for more information.

Sample .pre-commit-config.yaml:

- repo: https://github.com/samueljsb/octal8
  rev: "v1.2.1"
  hooks:
    - id: octal8

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

octal8-1.2.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

octal8-1.2.1-py2.py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 2 Python 3

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