Commit Graph

86 Commits

Author SHA1 Message Date
Alexey Milovidov
63a287ebee Remove garbage from CMakeLists (2) 2021-04-25 02:01:48 +03:00
Alexey Milovidov
4ff812db7f Maybe better support for paths with whitespaces 2021-04-24 22:47:52 +03:00
Azat Khuzhin
6c2622d451 Add style check for ReplicatedMergeTree path 2021-03-16 07:22:32 +03:00
Azat Khuzhin
b9cb8fdbad Exclude contrib for yamllint check 2021-02-21 10:45:05 +03:00
Azat Khuzhin
2db3a6af49 Add yamllint into style check 2021-02-20 23:25:21 +03:00
Anton Popov
47c610be14
Merge pull request #19726 from CurtizJ/style-check
Allow to run all style checks in one file
2021-02-08 16:24:49 +03:00
Azat Khuzhin
7d9c892e60 check-style: fix "fatal: not a git repository: /place/sandbox-data/tasks/0/2/882869720/ClickHouse/.git/modules/contrib/AMQP-CPP" error
check-style uses "git status" to see changed ya.make files.

However it seems that that the sources was cloned some ancient git
version, likely <2.8, since there was a bug, that has been fixed in 2.8
[1]:

    " * A partial rewrite of "git submodule" in the 2.7 timeframe changed
        the way the gitdir: pointer in the submodules point at the real
        repository location to use absolute paths by accident.  This has
        been corrected."

  [1]: cf11a67975/Documentation/RelNotes/2.8.3.txt (L33-L36)
2021-01-30 00:29:21 +03:00
Azat Khuzhin
480c75bacf check-style: pass path to rc file for pylint 2021-01-29 23:11:53 +03:00
Anton Popov
9c2130cc17 allow to run style check from other directories 2021-01-28 03:13:30 +03:00
Anton Popov
6c7ecc1aa0 allow to run all style checks in one file 2021-01-28 02:47:47 +03:00
Alexander Kuzmenkov
331e8211db
Merge pull request #19675 from azat/tests-query_log-current_database
Require current_database filter for tests with query_log/query_thread_log
2021-01-27 18:00:33 +03:00
Azat Khuzhin
9c5d83d6bc Check that tests with query_log/query_thread_log includes current_database filter 2021-01-27 00:18:32 +03:00
Azat Khuzhin
93d375f67a Check clickhouse-test with pylint during style check 2021-01-27 00:14:23 +03:00
Alexander Tokmakov
14e842c197 print stderr of failed subprocess 2021-01-22 17:27:23 +03:00
Alexey Milovidov
aa2e89611d Remove sumburConsistentHash function 2020-12-31 02:22:04 +03:00
Yatsishin Ilya
011d2b4631 disable couple checks for now 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
5869123a86 no empty line for check-duplicate-includes 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
a25fa1996b fix style checks 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
7e37743c37 run check-typos separately for now 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
f36e8f13c0 more fixes after rebase 2020-12-24 13:48:10 +03:00
Yatsishin Ilya
ce1e2b18a3 Fix codespell warnings. Split style checks. Update style checks docker 2020-12-24 13:17:52 +03:00
Alexey Milovidov
5bdf287910 Check for conflict markers in docs 2020-12-22 00:55:54 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser (#11298) 2020-12-04 05:15:44 +03:00
vdimir
e2fac19686
Remove libbtrie 2020-11-21 21:31:15 +03:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
Alexander Tokmakov
b94cc5c4e5 remove more stringstreams 2020-11-10 21:22:26 +03:00
Danila Kutenin
811c3e5cd1 Fix submodules 2020-11-10 01:32:50 +03:00
Danila Kutenin
5d138f3475 Fix submodules for fast test 2020-11-10 01:31:24 +03:00
Alexander Tokmakov
5cdfcfb307 remove other stringstreams 2020-11-09 22:12:44 +03:00
Alexander Tokmakov
a06be511df pcg serialization 2020-11-09 16:07:38 +03:00
Alexey Milovidov
baf55437fa Better diagnostics in check-style script 2020-10-26 22:17:01 +03:00
Alexey Milovidov
32ed8c9681 Fix trailing whitespace 2020-10-26 22:12:40 +03:00
Alexey Milovidov
942828f4d5 Check style 2020-10-25 00:54:17 +03:00
Alexey Milovidov
85c69aad7f Add check for BOM 2020-10-24 09:23:54 +03:00
Alexey Milovidov
c23c7e3bba Check for executable bit on non-executable files 2020-10-11 19:26:11 +03:00
Alexey Milovidov
c214fd97b2 Addition to prev. revision 2020-10-10 23:23:58 +03:00
Alexey Milovidov
269b6383f5 Check for #pragma once in headers 2020-10-10 21:37:02 +03:00
Alexander Kuzmenkov
499e0766e5 Check docker scripts with shellcheck 2020-09-30 20:06:46 +03:00
Alexey Milovidov
425297e9c9 Check that ya.make files are auto-generated 2020-08-19 12:40:28 +03:00
Alexey Milovidov
e43746395e Merge branch 'master' into codespell-2 2020-08-16 14:57:21 +03:00
alexey-milovidov
966dd287b7
Merge branch 'master' into shellcheck3 2020-08-15 19:49:22 +03:00
Alexey Milovidov
145ad95e2a Revert check location of Docker compose files @qoega. 2020-08-15 07:23:23 +03:00
Yatsishin Ilya
ede56a7503 Fix 2020-08-14 17:41:03 +03:00
Yatsishin Ilya
ab337b243a Add docker for style check 2020-08-14 16:09:23 +03:00
Alexey Milovidov
e4d02f6b51 Update for useless script #13599 2020-08-12 06:03:47 +03:00
Alexey Milovidov
b633b49e07 Enable Shellcheck in CI 2020-08-09 02:26:59 +03:00
Alexey Milovidov
726f5b082a Fix build 2020-08-08 17:10:49 +03:00
Alexey Milovidov
6c4df0f27a Better tool 2020-08-08 17:10:49 +03:00
Alexey Milovidov
0688e1671f Run check-typos within check-style 2020-08-08 17:10:49 +03:00
Alexey Milovidov
cacca83839 Added a tool to check for typos; added dictionaries. 2020-08-08 17:10:27 +03:00