Commit Graph

135 Commits

Author SHA1 Message Date
Robert Schulze
e8809e9f86
Revert "Complain about std::make_pair/tuple (check-style)"
This reverts commit 3a4da94126.
2022-05-08 08:36:05 +02:00
Robert Schulze
a6e22c9379
Revert "Mention suppression in stylecheck error + document in style guide"
This reverts commit ef0d9ca468.
2022-05-08 08:35:10 +02:00
Robert Schulze
ef0d9ca468
Mention suppression in stylecheck error + document in style guide 2022-05-06 09:43:00 +02:00
Robert Schulze
3a4da94126
Complain about std::make_pair/tuple (check-style)
Also provide suppression which was used in one place where a rewrite
would have been too ugly (due to different decay of make_pair and pair).
2022-05-05 22:03:59 +00:00
Amos Bird
20f63a6fa4
Fix style check 2022-04-29 15:32:53 +08:00
Alexey Milovidov
40357637ec Remove Arcadia 2022-04-16 00:33:32 +02:00
Kruglov Pavel
666ef3586c
Fix typos check 2022-03-29 16:42:01 +02:00
Mikhail f. Shiryaev
31fa28a4c2
Improve black check: show diff in the output 2022-03-28 13:52:35 +02:00
Mikhail f. Shiryaev
5fea6d24fa
Add black formatting check 2022-03-22 17:38:48 +01:00
Mikhail f. Shiryaev
4309236e17
Adjust check-workflows to exit-on-errors 2022-03-22 17:38:46 +01:00
taiyang-li
1b9987ceb1 fix mistake in check-style 2022-03-05 14:22:56 +08:00
Mikhail f. Shiryaev
a7325bbe32
Fix check-workflows in style check, iterate over checks 2022-02-03 18:36:01 +01:00
Azat Khuzhin
7111f411df check-style: ignore comments for currentDatabase() check
Inaccurate, but should OK for check-style scripts.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-25 13:16:45 +03:00
Azat Khuzhin
5c8d02724c check-style: add a note about find_path/find_library check
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00
Azat Khuzhin
7dcc037296 check-style: add a check that there is no system-wide library in use 2022-01-20 10:02:02 +03:00
alesapin
5257b413d4
Merge pull request #33612 from ClickHouse/workflow-linting
Add actionlint configuration and fix all issues
2022-01-14 11:41:48 +03:00
Mikhail f. Shiryaev
49fa1a1cd3
Add linter and checker for workflow files 2022-01-13 21:40:21 +01:00
taiyang-li
1e102bc1b2 merge master 2022-01-01 09:01:06 +08:00
taiyang-li
9036b18c2f merge master 2021-12-27 15:12:48 +08:00
Azat Khuzhin
6d9d7df9d6 check-style: check for event_time/event_date = today() queries 2021-12-26 16:25:15 +03:00
Azat Khuzhin
78f66c6d72 check-style: remove absolete filters
Follow-up for: eaba6a7f59
2021-12-26 16:13:03 +03:00
avogar
602578deab Update bool serialization/deserialization for Values format 2021-12-24 13:20:58 +03:00
lgbo-ustc
2cebda874d remove debug modification 2021-12-20 11:50:38 +08:00
taiyang-li
2f4e7e1d4e merge master 2021-12-02 19:48:21 +08:00
Azat Khuzhin
b59e0c65ea Fix style-check for ProfileEvents checking 2021-12-01 10:26:00 +03:00
lgbo-ustc
1014ca8c58 make two loops in clearing cached files into one 2021-11-30 17:57:58 +08:00
Alexey Milovidov
ba74a268a4 Forbid files that differ only by character case 2021-11-26 01:27:56 +03:00
Azat Khuzhin
fbe80cd080 Improve style check for ProfileEvents and CurrentMetrics 2021-11-10 21:15:27 +03:00
Azat Khuzhin
e2cdd49dba check-style: remove Parser/New (antrl had been removed) 2021-11-10 21:15:27 +03:00
Azat Khuzhin
fa50dd885c Run pylint for ci scripts 2021-10-27 10:03:23 +03:00
alesapin
6d8853698b Merge branch 'master' into trying_actions 2021-10-19 17:45:37 +03:00
alesapin
1df70af14e Fix style check one more time: 2021-09-30 16:08:12 +03:00
alesapin
2aa852388f Fix style check 2021-09-30 15:34:44 +03:00
kssenii
410b17b4a1 Fix 2021-09-30 06:35:35 +00:00
Azat Khuzhin
e709ead11a Add std::cerr/std::cout style check 2021-09-28 10:28:28 +03:00
Alexey Milovidov
cd7f9d981c Remove ya.make 2021-09-25 04:22:54 +03:00
alexey-milovidov
2990cdfc6d
Update check-style 2021-08-27 23:59:56 +03:00
kssenii
3f7259f955 Check error codes in style-check, update test 2021-08-27 16:26:26 +03:00
Azat Khuzhin
673f3b4d8d check-style: refactor database column filter check 2021-08-09 09:50:50 +03:00
Azat Khuzhin
ba97ffb909 Add system.mutations for database filter check 2021-08-09 09:50:50 +03:00
Azat Khuzhin
2bfdf0d5a1 check-style: check system.projection_parts for database filter 2021-08-08 19:31:57 +03:00
Azat Khuzhin
3cda5960ec check-style: allow currentDatabase() for ReplicatedMergeTree definition too 2021-08-05 10:11:37 +03:00
Azat Khuzhin
09fa82c244 check-style: fix {database} macro pattern 2021-08-05 09:58:21 +03:00
Azat Khuzhin
507eae9aed check-style: skip *.gen for ReplicatedMergeTree check 2021-08-05 09:51:59 +03:00
Azat Khuzhin
a783b05755 check-style: improve check for ReplicatedMergeTree 2021-08-05 09:50:25 +03:00
Azat Khuzhin
6c61d3731e check-style: cover *.j2 too 2021-08-05 09:50:09 +03:00
Azat Khuzhin
617cdd5d4d check-style: add a check for ReplicatedMergeTree in *.sql 2021-08-05 09:49:48 +03:00
Azat Khuzhin
03e28e1cdf check-style: database filter for system.{tables,parts,parts_columns,columns} 2021-05-22 14:07:21 +03:00
Azat Khuzhin
1ad78a39ed check-style: improve current_database check 2021-05-22 14:07:21 +03:00
Alexey Milovidov
63a287ebee Remove garbage from CMakeLists (2) 2021-04-25 02:01:48 +03:00