Skip to content

Avoid back-ticks in linter messages #723

@peterjc

Description

@peterjc

e.g. Trying ruff 0.0.114 on the Biopython codebase as an alternative to flake8 (for which is almost unbelievably fast, sub-second even if I deliberately run rm -rf .ruff_cache/ first. Nice!):

$ ruff Bio --extend-ignore E501,B007,E741,F401,F841,D105,B009,B010,B011
Bio/PDB/MMCIF2Dict.py:120:41: E713 Test for membership should be `not in`

Attempting to copy and past that into my git commit message at the command line is complicated due to the back ticks (bash attempts to run the command not in). Typically flake8 plugins use single quotes, where that is not a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAsking for support or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions