Marco Ferrari
4507a8e056
Add a debug instructions to check LANGUAGE_LINTER_RULES
2020-10-15 16:45:18 +02:00
Marco Ferrari
dfaeaf317d
Simplify rules files loading, plus fixes
2020-10-15 16:45:18 +02:00
Lucas Gravley
d9b3473867
add warning:
2020-10-14 10:31:55 -05:00
Lukas Gravley
ed588b80c1
Merge pull request #846 from github/tekton
...
Adding tekton language support
2020-10-13 16:37:11 -05:00
Lucas Gravley
8be7c6df85
remove cache folder
2020-10-13 14:17:40 -05:00
Lucas Gravley
7a775854e7
cleaner
2020-10-13 13:46:46 -05:00
Lucas Gravley
c3a1403fa0
fix tekton to not trigger kuber
2020-10-13 12:54:14 -05:00
Lucas Gravley
d8b13b0fd8
now with files
2020-10-13 10:21:23 -05:00
Marco Ferrari
c201c0f6d1
Dynamically invoke linters
2020-10-13 09:08:03 +02:00
Lukas Gravley
e8091a4ee9
Merge pull request #827 from PascalBourdier/ignore-kustomize-file
...
ignore kustomize file with kubeval
2020-10-12 10:36:45 -05:00
Lukas Gravley
6bde44e755
Merge pull request #824 from mshimokura/ecrc_file
...
editorconfig-checker - Use .ecrc Files
2020-10-12 10:24:00 -05:00
Michael Shimokura
a5cada70f8
Revert "rename the variable to EDITORCONFIG_CHECKER_FILE_NAME for clarity"
...
This reverts commit 23a463867d
.
2020-10-09 09:13:37 -04:00
Michael Shimokura
23a463867d
rename the variable to EDITORCONFIG_CHECKER_FILE_NAME for clarity
2020-10-09 09:02:12 -04:00
Pascal Bourdier
32a5945dd8
embedding the negation in the existing if
2020-10-09 11:53:34 +02:00
Pascal Bourdier
d975791bb9
ignore kustomize file with kubeval
...
currently, kubeval doesn't support kustomize file
so kubeval returns a false-positive about a missing `metadata` key:
```
2020-10-09 06:19:19 [ERROR ] Found errors in [kubeval] linter!
2020-10-09 06:19:19 [ERROR ] [ERR - .../kustomization.yml: Missing 'metadata' key]
2020-10-09 06:19:19 [ERROR ] Linter CMD:[kubeval --strict .../kustomization.yml]
```
2020-10-09 09:02:09 +02:00
Michael Shimokura
cd4798ea04
only assign EDITORCONFIG_FILE_NAME if not already assigned
2020-10-08 16:17:29 -04:00
Michael Shimokura
1312a3a3e4
use the .ecrc file
2020-10-08 15:27:47 -04:00
Tim Jones
a8746a7159
Add support for Terragrunt files
2020-10-08 18:18:22 +02:00
Marco Ferrari
a2b3938ea2
Dynamically load linter rules
2020-10-07 19:02:36 +02:00
Marco Ferrari
68e15659b8
Centralize file list building logic in buildFileList.sh
2020-10-07 16:36:49 +02:00
Marco Ferrari
351496fe72
Populate FILE_ARRAY_DOCKERFILE_HADOLINT
2020-10-03 12:19:33 +02:00
Marco Ferrari
d210896355
Set FILE_ARRAY_EDITORCONFIG
2020-10-03 00:33:01 +02:00
Marco Ferrari
e1b1c7d223
Dynamically initialize FILE_ARRAY variables
2020-10-02 23:02:47 +02:00
Marco Ferrari
973bfdea8e
Initialize all log-related ASAP
2020-09-29 22:46:24 +02:00
Marco Ferrari
9371fab670
Remove unneeded variables and eval the rest
2020-09-29 22:33:11 +02:00
Lukas Gravley
18c32b7dca
Merge pull request #766 from mshimokura/editorconfig_lintall
...
Lint all changed files with editorconfig-checker
2020-09-28 08:38:51 -05:00
Lukas Gravley
167af0854e
Merge pull request #767 from kpj/master
...
Fix various Snakemake related issues
2020-09-28 08:36:48 -05:00
Lukas Gravley
6482f45462
Merge pull request #769 from ferrarimarco/remove-read-only-change-flag
...
Remove READ_ONLY_CHANGE_FLAG flag and fix .editorconfig and shfmt tests
2020-09-28 08:35:58 -05:00
Marco Ferrari
d43fcdc666
Sort environment variables when printing debug info
2020-09-26 00:51:53 +02:00
Marco Ferrari
31fd755fd7
Remove unneeded READ_ONLY_CHANGE_FLAG
2020-09-25 23:41:47 +02:00
Marco Ferrari
63f23368b8
Remove unneeded READ_ONLY_CHANGE_FLAG
2020-09-25 21:25:00 +02:00
kpj
9e7c84fbbb
Fix various Snakemake related variable names
2020-09-24 16:06:12 +02:00
kpj
40f995365b
Fix Snakefile regex
2020-09-24 15:55:47 +02:00
kpj
71ede6ccca
Add missing 'GetLinterRules' calls
2020-09-24 15:54:24 +02:00
Michael Shimokura
12543b369b
Lint all files with editorconfig-checker
...
Since .editorconfig configuration files _could_ apply to any file, we
should pass in the RAW_FILE_ARRAY to it. This ensures that files of all
types are linted by editorconfig-checker.
2020-09-24 09:02:24 -04:00
Lukas Gravley
84c79a186b
Merge branch 'master' into master
2020-09-22 08:56:09 -05:00
Marco Ferrari
f24f52be11
Lint with Kubeval and fixes
2020-09-22 01:49:01 +02:00
Lukas Gravley
f290145dfa
Update linter.sh
2020-09-21 13:51:46 -05:00
Lukas Gravley
06cb2ebb6f
Update linter.sh
2020-09-21 13:50:58 -05:00
Marco Ferrari
6168112f61
Fix ERROR_ON_MISSING_EXEC_BIT initialization
2020-09-21 14:43:44 +02:00
kpj
6f6004275f
In anticipation of snakefmt 0.1.6, start using --check and --compact-diff
2020-09-18 16:32:01 +02:00
Marco Ferrari
5cefb9209f
Make bash-exec errors or warnings configurable
2020-09-15 22:40:12 +02:00
NicolasVuillamy
e470df5431
Fix file filters: Reorder arguments to LintCodeBase function
2020-09-15 08:15:53 +02:00
kpj
5b51c2bd92
Use '--compact-diff' instead of '--diff' for snakefmt
2020-09-14 09:36:33 +02:00
Joseph Marino
2698bdfbc3
Fixed a typo in code comments
...
Replaced the term "CSS" with "HTML" in code comments for the
HTML_LINTER_RULES variable.
2020-09-11 15:16:55 -04:00
kpj
11f437df4c
Fix usage of FILE_ARRAY_SNAKEMAKE
2020-09-11 13:51:15 +02:00
kpj
e1b2fd6085
Fix bug in Snakemake file regex
2020-09-11 13:49:05 +02:00
kpj
ec0577ae5b
Add Snakemake to language array
2020-09-11 13:31:57 +02:00
Lukas Gravley
79b055babe
Merge pull request #707 from ferrarimarco/fix-node-modules
...
Fix list files function typos
2020-09-10 11:21:54 -05:00
Lucas Gravley
b232c5b970
this is the way./..
2020-09-10 10:34:04 -05:00
Lucas Gravley
f432ef2116
fix spaces
2020-09-10 10:25:56 -05:00
Marco Ferrari
ad9c0081f4
Fix list files function typos
2020-09-10 12:10:12 +02:00
NicolasVuillamy
27afc50d60
Set GROOVY Linter failure level to warning
2020-09-10 11:07:05 +02:00
NicolasVuillamy
c86e90b3d0
Solve conflicts + format
2020-09-09 20:22:32 +02:00
NicolasVuillamy
f072bc5c8d
Merge remote-tracking branch 'github/master'
2020-09-09 20:18:21 +02:00
Lukas Gravley
9f3eb7d454
Merge pull request #679 from Goryudyuma/just-filter-the-git-folder
...
Just filter the .git folder
2020-09-09 10:53:19 -05:00
Lucas Gravley
b5d42bf181
this makes no sense
2020-09-09 10:37:02 -05:00
Lucas Gravley
880380d118
if i could only read
2020-09-09 10:18:12 -05:00
Lucas Gravley
dbd4cd673d
this has to be right
2020-09-09 10:04:21 -05:00
Lucas Gravley
eb67d9b9c6
fix that dumb action
2020-09-09 09:28:39 -05:00
Lucas Gravley
bae75b456b
more fix
2020-09-09 09:24:57 -05:00
Lucas Gravley
17c3ded695
i forgot how this works
2020-09-09 09:24:27 -05:00
Lukas Gravley
e9811c85d6
Update lib/worker.sh
...
yes
Co-authored-by: Goryudyuma(Kei.Matsumoto) <6211370+Goryudyuma@users.noreply.github.com>
2020-09-08 16:00:12 -05:00
Lucas Gravley
fd42f4b3fb
science...
2020-09-08 15:45:17 -05:00
Marco Ferrari
83666ffaba
Fix getting filename for hidden files
2020-09-08 19:20:49 +02:00
Lucas Gravley
0e5f996c3c
look at folders and not file names
2020-09-08 12:16:59 -05:00
Lucas Gravley
a0d4012b67
like this?
2020-09-08 12:01:17 -05:00
Lucas Gravley
53995952e0
Merge branch 'master' into just-filter-the-git-folder
2020-09-08 10:43:59 -05:00
Lucas Gravley
a6c9656015
fixing vars
2020-09-08 09:47:57 -05:00
kpj
6f6e6e9d03
[Snakemake] Remove wrong function argument
2020-09-08 11:26:48 +02:00
kpj
581f07a32b
[Snakemake] Fix 'LINTER_NAME'
2020-09-08 10:19:56 +02:00
kpj
8ac1c99a2e
[Snakemake] Support both formatting using 'snakefmt' and linting using 'snakemake --lint'
2020-09-08 09:38:48 +02:00
kpj
ad262196ba
[Snakemake] Also lint 'Snakefile' (without '.smk' suffix)
2020-09-08 09:11:54 +02:00
kpj
53f551c8b0
[Snakemake] Add '--config' parameter to 'snakefmt' calls
2020-09-07 17:26:58 +02:00
kpj
0c5029bf67
[Snakemake] Actually run 'snakefmt' tests
2020-09-07 17:20:56 +02:00
kpj
1e453be7fa
[Snakemake] Update codebase
2020-09-07 16:49:07 +02:00
NicolasVuillamy
04c93b4ff5
Add management of FILTER_REGEX_INCLUDE and FILTER_REGEX_EXCLUDE options
2020-09-05 12:25:44 +02:00
Lukas Gravley
828de134a9
this should be right
2020-09-04 13:22:01 -05:00
Goryudyuma(Kei.Matsumoto)
b31b696e00
Just filter the .git folder
2020-09-05 03:08:26 +09:00
Lukas Gravley
c58bab2627
Merge pull request #677 from v1v/feature/version
...
Print version, date and revision
2020-09-04 10:35:38 -05:00
Lucas Gravley
b29eb851d3
make pretty
2020-09-04 10:14:47 -05:00
Lukas Gravley
a3fcb3ea7c
Merge pull request #675 from dmerrick/honoring-disable-errors
...
Making MULTI_STATUS honor DISABLE_ERRORS setting
2020-09-04 09:15:06 -05:00
Lukas Gravley
eb36fb7d7c
Merge branch 'master' into master
2020-09-04 08:53:34 -05:00
NicolasVuillamy
21d75fb89e
Groovy traps .nf extension (nextflow) + upgrade npm-groovy-lint
2020-09-04 11:54:31 +02:00
Victor Martinez
d3c992bec7
Print version, date and revision
2020-09-04 09:09:20 +01:00
Dana Merrick
c64c5c8d60
Cleaner solution
2020-09-03 19:37:10 -04:00
Dana Merrick
dd84550d46
Honoring DISABLE_ERRORS
2020-09-03 19:23:24 -04:00
Lucas Gravley
c4bbf03935
fixing debug
2020-09-03 10:12:29 -05:00
Lucas Gravley
d78e707cba
no source needed
2020-09-03 09:57:20 -05:00
Lucas Gravley
a3c8b22e2c
fix duplicate names
2020-09-03 09:56:34 -05:00
Lucas Gravley
6ac933dc8c
fix print
2020-09-03 09:34:39 -05:00
Lucas Gravley
165b29cbe1
fix array
2020-09-03 09:21:22 -05:00
Lucas Gravley
8a51e59be7
even easier
2020-09-03 09:20:00 -05:00
Lucas Gravley
72fd3e3b87
super simple
2020-09-03 09:12:49 -05:00
Lukas Gravley
b012d72952
Merge pull request #662 from montyly/dev-black-config-file
...
Add support for black config file
2020-09-02 09:57:44 -05:00
Lucas Gravley
f5e39e5aad
fix typo and add check
2020-09-02 09:26:01 -05:00
Lucas Gravley
a756e40157
typo
2020-09-02 09:07:39 -05:00
Lucas Gravley
6040030c8a
Adding more paths to ignore
2020-09-02 09:05:36 -05:00
Josselin
f34b084586
Add support for black config file
2020-09-02 11:28:57 +02:00
Marco Ferrari
de4b8a4fa0
Add shfmt and fixes back
2020-09-01 00:06:15 +02:00