metno / arcanist-support Goto Github PK
View Code? Open in Web Editor NEWArcanist scripts for linters and unit tests.
Arcanist scripts for linters and unit tests.
It fails with the error
File system entity `......../target/test-reports' does not exist.
because the test-reports
are in the target folder of each module...
I don't know if the last version of Scala Style is different, having option '--quiet true' consumes all output (including lints).
I changed it to '--quiet false' and a NULL is handled as the last line causing an issue (I have no idea why is this happening).
I will upload a pull request with the fix.
I followed exactly the setup procedure described in README.md, however the arcanist still refuses to use the foodcritic linter:
..
...
Loading phutil library from '/usr/local/include/php/arcanist-support/src'...
Loading phutil library from '/usr/local/include/php/arcanist-support/src'...
>>> [0] (+0) <exec> $ git rev-parse --verify HEAD^
<<< [0] (+11) <exec> 11,924 us
>>> [1] (+12) <exec> $ git merge-base 'develop' HEAD
<<< [1] (+23) <exec> 10,911 us
>>> [2] (+24) <exec> $ git diff --no-ext-diff --no-textconv --submodule=short --raw '5dbb93ed89b7bda865572b64ba211495f95d61fa' HEAD --
<<< [2] (+35) <exec> 11,759 us
>>> [3] (+36) <exec> $ git --version
<<< [3] (+46) <exec> 10,072 us
>>> [4] (+46) <exec> $ git status --porcelain=2 -z
<<< [4] (+60) <exec> 14,261 us
>>> [5] (+60) <exec> $ git diff --no-ext-diff --no-textconv --submodule=short --no-color --src-prefix=a/ --dst-prefix=b/ -U32767 -M -C '5dbb93ed89b7bda865572b64ba211495f95d61fa' --
<<< [5] (+75) <exec> 14,239 us
[2018-08-23 11:18:35] EXCEPTION: (PhutilTypeExtraParametersException) Got unexpected parameters: foodcritic at [<phutil>/src/parser/PhutilTypeSpec.php:150]
arcanist(head=master, ref.master=d9a4293ae734), miarcanist(head=master, ref.master=bf7e5d7cadc3), phutil(head=master, ref.master=5b341cc09ca9)
#0 PhutilTypeSpec::checkMap(array, array) called at [<arcanist>/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php:38]
#1 ArcanistConfigurationDrivenLintEngine::buildLinters() called at [<arcanist>/src/lint/engine/ArcanistLintEngine.php:166]
#2 ArcanistLintEngine::run() called at [<arcanist>/src/workflow/ArcanistLintWorkflow.php:337]
#3 ArcanistLintWorkflow::run() called at [<arcanist>/scripts/arcanist.php:394]
When I set lint.engine to scalastyle and run arc lint, it returns message:
Usage Exception: Configured lint engine "ArcanistScalastyleLinter" is not a subclass of "ArcanistLintEngine", but must be.
I don't know how to resolve this problem. Can you give me some hints?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.