Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyTorch-GAN
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 102
    • Issues 102
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • 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
  • Erik Linder-Norén
  • PyTorch-GAN
  • Merge requests
  • !2

Run flake8 tests to find syntax errors and undefined names

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/cclauss/patch-1 into master Apr 24, 2018
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: cclauss

Every time someone submits a pull request, Travis Continuous Integration can automatically run tests on the code before it is reviewed. Travis is always free to open source projects like this one but the owner of the this repo would need to go to https://travis-ci.org/profile and flip the repository switch on to enable testing.

flake8 testing of https://github.com/eriklindernoren/PyTorch-GAN on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./implementations/dragan/dragan.py:201:9: F821 undefined name 'd_'
        d_
        ^
./implementations/pix2pix/models.py:15:21: E999 SyntaxError: invalid syntax
        if normalize=:
                    ^
1     E999 SyntaxError: invalid syntax
1     F821 undefined name 'd_'
2

flake8 testing of https://github.com/eriklindernoren/Keras-GAN on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./gan/gan_rgb.py:204:50: E999 TabError: inconsistent use of tabs and spaces in indentation
	        d_loss_logs_f_a = np.array(d_loss_logs_f)
                                                 ^
1     E999 TabError: inconsistent use of tabs and spaces in indentation
1
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/cclauss/patch-1