File: .pre-commit-hooks.yaml

package info (click to toggle)
modernize 0.9-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 416 kB
  • sloc: python: 2,016; makefile: 145
file content (12 lines) | stat: -rw-r--r-- 348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
- &modernize
  id: modernize
  name: modernize
  description: Modernizes Python code for eventual Python 3 migration.
  entry: modernize
  args: [--write, --fix=default, --nobackups]
  language: python
  types: [python]
- <<: *modernize
  id: python-modernize
  name: modernize (deprecated)
  description: "Deprecated in favour of `id: modernize`"