Skip to content
/ nitpick Public

Nitpick style configuration for python projects

Notifications You must be signed in to change notification settings

invian/nitpick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

nitpick-style

Nitpick style configuration for python projects

How to use

You are expected to have pyproject.toml with configurations for each tool used here.

This file must be in the root directory of your repository.

Local

Add the following to pyproject.toml. Change the version if needed.

[tool.nitpick]
style = [
    "https://raw.githubusercontent.com/invian/nitpick/master/nitpick-38.toml",
]

Pre-commit hook

Add the following to repos in .pre-commit-config.yaml.

  - repo: https://github.com/andreoliwa/nitpick
    rev: v0.35.0
    hooks:
      - id: nitpick

Now simply run it as a pre-commit hook, or directly via python -m nitpick

About

Nitpick style configuration for python projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published