Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • gitlab-tools gitlab-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • TPA
  • gitlab-toolsgitlab-tools
  • Merge requests
  • !2

blacken, lint

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged anarcat requested to merge blacken into main Feb 16, 2022
  • Overview 1
  • Commits 2
  • Pipelines 1
  • Changes 7
This pipes the file through black which silences *most* flake8
warning. The only warning left was about the `import *` which I
changed into the import of the single exception we're currently use.

Many changes are about single-quotes to double-quotes. I find those
annoying, but not as much as configuring black everywhere to not do
this. Black cannot be configured to do "the other way" (ie. only
single quotes), so then disabling this would mean not having
consistency on the quotes at all, so it's better to keep this on.

This should otherwise be a noop.
Edited Feb 16, 2022 by anarcat
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: blacken