Skip to main content

Set up game-winning headers!

Project description

Set up game-winning headers!


Chipshot helps standardize header information in software development files.

Its target goal is to ensure that copyright dates are standardized and that licensing information is present.

It supports a wide range of file formats, including source code and documentation formats. It purposely does not support configuration file formats by default (such as TOML, INI, or YAML) but can be configured to support those, too.

Sample configuration

Create a file named .chipshot.toml with the following content:

[chipshot]
template = """
Copyright 2021-{{ year }} Developer or Company
Released under the terms of the MIT license.
SPDX-License-Identifier: MIT
"""

You can then run chipshot path1 path2 to see what files will be modified. If you’re satisfied, run chipshot --update path1 path2 to update the files.

Pre-commit hooks

Chipshot offers two pre-commit hooks to help you manage your projects:

  • check-headers

  • update-headers

Here’s a sample configuration for ensuring your files have correct headers:

# Filename: .pre-commit-config.yaml
repos:
  - repo: 'https://github.com/kurtmckee/chipshot'
    rev: 'v0.9.0'
    hooks:
      - id: 'update-headers'

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

chipshot-0.9.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chipshot-0.9.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file chipshot-0.9.0.tar.gz.

File metadata

  • Download URL: chipshot-0.9.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chipshot-0.9.0.tar.gz
Algorithm Hash digest
SHA256 0fd5eff8545321d84f6cbbce5740e2d3de518582b9d8da4b7eb5e121bbc68a5f
MD5 0d1ce1a2287d762cc6a802fc220c2ac7
BLAKE2b-256 cf48a690c9ef74da52e506a369b4baf7831cd7ce588e0ab021da96b55ea2e9cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for chipshot-0.9.0.tar.gz:

Publisher: publish.yaml on kurtmckee/chipshot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chipshot-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: chipshot-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chipshot-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7238e91f3cd5a02c70a1157a5ab532a95b5ba05247ae15efbcf4bbd5b42e1ee
MD5 a415e9b3ecc9568fafe4f6767657bc31
BLAKE2b-256 33d135c5d7f6a8226be1a29c89255ce5fd26fbe8dabb5e5dc8f4acdd03da4bc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for chipshot-0.9.0-py3-none-any.whl:

Publisher: publish.yaml on kurtmckee/chipshot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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