Skip to content

Commit

Permalink
ScalaLintBear: Add DistributionRequirement
Browse files Browse the repository at this point in the history
ScalaLintBear only requires java.
  • Loading branch information
jayvdb committed Feb 4, 2017
1 parent 28fef97 commit 8b76bb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bears/scala/ScalaLintBear.py
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__)),
Expand All @@ -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'
Expand Down

0 comments on commit 8b76bb6

Please sign in to comment.