2018-project-roaster: github.com/LuleaUniversityOfTechnology/2018-project-roaster/analyze Index | Files | Directories

package analyze

import "github.com/LuleaUniversityOfTechnology/2018-project-roaster/analyze"

Package analyze implements the Flake8 runner and parser.

Index

Package Files

flake8.go

Variables

var ExecCommand = exec.Command

ExecCommand allows for overwriting the exec.Command function.

func WithFlake8 Uses

func WithFlake8(username, code string) (result *model.RoastResult, err error)

WithFlake8 statically analyzes the code with Flake8 and parses the result.

Directories

PathSynopsis
cachePackage cache implements a simple thread-safe cache with expiration.

Package analyze imports 7 packages (graph) and is imported by 2 packages. Updated 2019-01-14. Refresh now. Tools for package owners.