Run flake8 checks on generate-flag-types

This commit is contained in:
Dan Buch 2016-07-15 08:45:46 -04:00
parent 40a9813f6f
commit fcaccb600b
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ before_script:
- ln -sv ${TRAVIS_BUILD_DIR} ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2 - ln -sv ${TRAVIS_BUILD_DIR} ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
script: script:
- flake8 runtests cli-v1-to-v2 - flake8 runtests cli-v1-to-v2 generate-flag-types
- ./runtests gen - ./runtests gen
- ./runtests vet - ./runtests vet
- ./runtests test - ./runtests test

View File

@ -37,8 +37,8 @@ The meaning of each field is as follows:
name (string) - The type "name", which will be suffixed with name (string) - The type "name", which will be suffixed with
`Flag` when generating the type definition `Flag` when generating the type definition
for `cli` and the wrapper type for `altsrc` for `cli` and the wrapper type for `altsrc`
type (string) - The type that the generated `Flag` type for `cli` type (string) - The type that the generated `Flag` type for
is expected to "contain" as its `.Value` member `cli` is expected to "contain" as its `.Value` member
value (bool) - Should the generated `cli` type have a `Value` value (bool) - Should the generated `cli` type have a `Value`
member? member?
dest (bool) - Should the generated `cli` type support a dest (bool) - Should the generated `cli` type support a