Code-TidyAll-Plugin-YAPF

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::More" : "0.96",
            "Test::Pod::Coverage" : "1.08",
            "Test::Spelling" : "0.12"
         }
      },
      "runtime" : {
         "requires" : {
            "Code::TidyAll::Plugin" : "0",
            "IPC::Run3" : "0",
            "Moo" : "0",
            "Try::Tiny" : "0",
            "perl" : "5.006",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {

META.yml  view on Meta::CPAN

name: Code-TidyAll-Plugin-YAPF
no_index:
  directory:
    - examples
    - t
    - xt
requires:
  Code::TidyAll::Plugin: '0'
  IPC::Run3: '0'
  Moo: '0'
  Try::Tiny: '0'
  perl: '5.006'
  strict: '0'
  warnings: '0'
resources:
  bugtracker: https://github.com/oalders/code-tidyall-plugin-yapf/issues
  homepage: https://github.com/oalders/code-tidyall-plugin-yapf
  repository: https://github.com/oalders/code-tidyall-plugin-yapf.git
version: '0.000002'
x_Dist_Zilla:
  perl:

Makefile.PL  view on Meta::CPAN

    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Code-TidyAll-Plugin-YAPF",
  "LICENSE" => "artistic_2",
  "MIN_PERL_VERSION" => "5.006",
  "NAME" => "Code::TidyAll::Plugin::YAPF",
  "PREREQ_PM" => {
    "Code::TidyAll::Plugin" => 0,
    "IPC::Run3" => 0,
    "Moo" => 0,
    "Try::Tiny" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Code::TidyAll::Plugin::PerlTidy" => 0,
    "Code::TidyAll::Plugin::SortLines::Naturally" => "0.000003",
    "Code::TidyAll::Plugin::UniqueLines" => "0.000003",
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "IO::Handle" => 0,

Makefile.PL  view on Meta::CPAN

  "Code::TidyAll::Plugin::SortLines::Naturally" => "0.000003",
  "Code::TidyAll::Plugin::UniqueLines" => "0.000003",
  "ExtUtils::MakeMaker" => 0,
  "File::Spec" => 0,
  "IO::Handle" => 0,
  "IPC::Open3" => 0,
  "IPC::Run3" => 0,
  "Moo" => 0,
  "Test::Code::TidyAll" => "0.49",
  "Test::More" => 0,
  "Try::Tiny" => 0,
  "blib" => "1.01",
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;

cpanfile  view on Meta::CPAN

requires "Code::TidyAll::Plugin" => "0";
requires "IPC::Run3" => "0";
requires "Moo" => "0";
requires "Try::Tiny" => "0";
requires "perl" => "5.006";
requires "strict" => "0";
requires "warnings" => "0";

on 'test' => sub {
  requires "Code::TidyAll::Plugin::PerlTidy" => "0";
  requires "Code::TidyAll::Plugin::SortLines::Naturally" => "0.000003";
  requires "Code::TidyAll::Plugin::UniqueLines" => "0.000003";
  requires "ExtUtils::MakeMaker" => "0";
  requires "File::Spec" => "0";

lib/Code/TidyAll/Plugin/YAPF.pm  view on Meta::CPAN

use strict;
use warnings;
package Code::TidyAll::Plugin::YAPF;

use IPC::Run3 qw(run3);
use Moo;
use Try::Tiny;
extends 'Code::TidyAll::Plugin';

our $VERSION = '0.18';

sub _build_cmd { 'yapf' }

sub transform_file {
    my ( $self, $file ) = @_;

    try {

t/00-report-prereqs.dd  view on Meta::CPAN

                                      'Test::More' => '0.96',
                                      'Test::Pod::Coverage' => '1.08',
                                      'Test::Spelling' => '0.12'
                                    }
                    },
       'runtime' => {
                      'requires' => {
                                      'Code::TidyAll::Plugin' => '0',
                                      'IPC::Run3' => '0',
                                      'Moo' => '0',
                                      'Try::Tiny' => '0',
                                      'perl' => '5.006',
                                      'strict' => '0',
                                      'warnings' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {



( run in 0.920 second using v1.01-cache-2.11-cpan-05444aca049 )