Commit Graph

6 Commits

Author SHA1 Message Date
Krishna Vedala
c4f586b6ab
[bug fix] fix code formatting in CI (#1052)
* fix: linter and spacing for is_graph_bipartite.

* updating DIRECTORY.md

* clang-tidy fixes for a49ec9b8d7

* use clang-12

* downgrade to clang11

* added clang-format confiug file

* added explicit clang-format step in workflow

* fix git command

* commit format and lint together

lint first and then format

* corrected order

* Revert "Merge branch 'is_graph_bipartite' into fix_clang"

This reverts commit d4d4060175, reversing
changes made to 2ccc3a364e.

Co-authored-by: Filip Hlásek <fhlasek@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-26 10:48:08 -04:00
Krishna Vedala
1f32b4e412
Fix command syntax (#949) 2020-07-12 07:24:57 -04:00
Krishna Vedala
4e12f03c6c
disable move error + enforce c++11 for clang-tidy 2020-07-11 15:09:00 -04:00
Krishna Vedala
9a5a62cf12
pass multiple files 2020-07-10 21:47:39 -04:00
Krishna Vedala
02d947777b
[enhancement] Replace cpplint with clang-tidy (#943)
* test commit for using clang-tidy instead of cpplint

* add suffix -- to clang-tidy & commit

* fixes to git commit

* commenting redundant clang-format as clang-tidy will take care of that

* add clang-tidy config file

* use clang-tidy config file

* test dump config to ensure config is read correctly

* move test to top

* test passed, removing test code

Test link: https://github.com/TheAlgorithms/C-Plus-Plus/pull/943/checks?check_run_id=851231578

* fix clang-tidy config

* set clang-tidy standard to c++11

* provide clang-tidy with compilation details

* fix build path argument & Use clang-9

(cherry picked from commit 5eddf0cd9536f328a6a3485b5ed59705618a1433)

* Merge commit '433568f9fa7c3e7f1b2e0c86c1864e92ad2668c8'

* Use clang-9

* fix subprocess.STDOUT

* remove pipe for stdout

* bumot o clang-tidy-10

* Revert "Merge commit '433568f9fa7c3e7f1b2e0c86c1864e92ad2668c8'"

This reverts commit 2a7462056a.

* add docs
2020-07-10 11:32:37 -04:00
Krishna Vedala
69f7c9c6e1
[fix] Enable CI for pull_requests (#864)
* rename awesome workflow

* added new PR workflow - only cpplint and compilation

* simple doc add

* rename PR workflow

* removed cpplint dependency

* try v1 checkout

* remove pr specific CI

* remove dependency to perform git pull

* remove blank line

* remove checkout@master and use v1

* remove hyphen

* remove misplaced with statement

* remove redundant git pull

* try git pull from origin for compile check

* remove git pull altogehter

* use setup-python-v2
2020-06-20 16:57:41 +05:30