Automatically enforce Phobos's styleguide

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 28 08:14:19 PDT 2016


On 04/28/2016 09:50 AM, Seb wrote:
> On Thursday, 28 April 2016 at 13:46:37 UTC, Andrei Alexandrescu wrote:
>> On 04/27/2016 11:41 PM, Seb wrote:
>>> Just a quick update that #4243 is in and the linting bot is now running.
>>> As I mentioned earlier there are still many trivial flags of Dscanner's
>>> static analysis that could be enabled. I marked them with "FIXME", so
>>> @anyone feel free to have a look.
>>> Moreover (once dub is 1.0 and released together with dmd), we want to
>>> enable the same linting in the Makefile.
>>
>> Do you have an example of an error flow? -- Andrei
>
> I accidentally proved that it does check for errors:
> https://github.com/dlang/phobos/pull/4255
>
> You can see the history here:
> https://travis-ci.org/dlang/phobos/builds

Hmmm... not to clear error messages - something we could improve in the 
near future. -- Andrei


More information about the Digitalmars-d mailing list