-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ScalaLintBear: Add DistributionRequirement
ScalaLintBear only requires java.
- Loading branch information
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
from os.path import abspath, dirname, join | ||
|
||
from coalib.bearlib.abstractions.Linter import linter | ||
from dependency_management.requirements.DistributionRequirement import ( | ||
DistributionRequirement) | ||
|
||
|
||
scalastyle_config_file = join(dirname(abspath(__file__)), | ||
|
@@ -18,6 +20,7 @@ class ScalaLintBear: | |
""" | ||
|
||
LANGUAGES = {'Scala'} | ||
REQUIREMENTS = {DistributionRequirement(apt_get='java')} | ||
AUTHORS = {'The coala developers'} | ||
AUTHORS_EMAILS = {'[email protected]'} | ||
LICENSE = 'AGPL-3.0' | ||
|