Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pantsbuild.pants / backend / python / lint / black / register.py
Size: Mime:
# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).


from pants.backend.python.lint import python_format_target, python_lint_target
from pants.backend.python.lint.black import rules as black_rules


def rules():
    return (
        *black_rules.rules(),
        *python_format_target.rules(),
        *python_lint_target.rules(),
    )