Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add config files for direnv and codespell #66

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ClausKlein
Copy link
Contributor

Example usage:

bash-5.2$ cd /Users/clausklein/Workspace/cpp/cmake_template
direnv: loading ~/Workspace/cpp/cmake_template/.envrc
direnv: export +BUILD_DIR +CMAKE_EXPORT_COMPILE_COMMANDS +CMAKE_PREFIX_PATH +CPM_USE_LOCAL_PACKAGES +CTEST_OUTPUT_ON_FAILURE +LD_LIBRARY_PATH +VIRTUAL_ENV ~CPM_SOURCE_CACHE ~PATH
bash-5.2$ pip install -r requirements.txt
Requirement already satisfied: codespell>=2.2.5 in ./.direnv/python-3.11/lib/python3.11/site-packages (from -r requirements.txt (line 7)) (2.2.5)
Requirement already satisfied: builddriver>=0.9.0 in ./.direnv/python-3.11/lib/python3.11/site-packages (from -r requirements.txt (line 8)) (0.9.0)
Requirement already satisfied: bumpversion>=0.6.0 in ./.direnv/python-3.11/lib/python3.11/site-packages (from -r requirements.txt (line 9)) (0.6.0)
Requirement already satisfied: cmake-format>=0.6.13 in ./.direnv/python-3.11/lib/python3.11/site-packages (from -r requirements.txt (line 10)) (0.6.13)
Requirement already satisfied: cmake>=3.27 in ./.direnv/python-3.11/lib/python3.11/site-packages (from -r requirements.txt (line 11)) (3.27.2)
Requirement already satisfied: gcovr>=5.2 in ./.direnv/python-3.11/lib/python3.11/site-packages (from -r requirements.txt (line 12)) (6.0)
Requirement already satisfied: ninja>=1.11 in ./.direnv/python-3.11/lib/python3.11/site-packages (from -r requirements.txt (line 13)) (1.11.1)
Requirement already satisfied: yamllint>=1.26 in ./.direnv/python-3.11/lib/python3.11/site-packages (from -r requirements.txt (line 14)) (1.32.0)
Requirement already satisfied: bump2version in ./.direnv/python-3.11/lib/python3.11/site-packages (from bumpversion>=0.6.0->-r requirements.txt (line 9)) (1.0.1)
Requirement already satisfied: cmakelang>=0.6.13 in ./.direnv/python-3.11/lib/python3.11/site-packages (from cmake-format>=0.6.13->-r requirements.txt (line 10)) (0.6.13)
Requirement already satisfied: jinja2 in ./.direnv/python-3.11/lib/python3.11/site-packages (from gcovr>=5.2->-r requirements.txt (line 12)) (3.1.2)
Requirement already satisfied: lxml in ./.direnv/python-3.11/lib/python3.11/site-packages (from gcovr>=5.2->-r requirements.txt (line 12)) (4.9.3)
Requirement already satisfied: pygments in ./.direnv/python-3.11/lib/python3.11/site-packages (from gcovr>=5.2->-r requirements.txt (line 12)) (2.16.1)
Requirement already satisfied: pathspec>=0.5.3 in ./.direnv/python-3.11/lib/python3.11/site-packages (from yamllint>=1.26->-r requirements.txt (line 14)) (0.11.2)
Requirement already satisfied: pyyaml in ./.direnv/python-3.11/lib/python3.11/site-packages (from yamllint>=1.26->-r requirements.txt (line 14)) (6.0.1)
Requirement already satisfied: six>=1.13.0 in ./.direnv/python-3.11/lib/python3.11/site-packages (from cmakelang>=0.6.13->cmake-format>=0.6.13->-r requirements.txt (line 10)) (1.16.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./.direnv/python-3.11/lib/python3.11/site-packages (from jinja2->gcovr>=5.2->-r requirements.txt (line 12)) (2.1.3)
bash-5.2$ pip check
No broken requirements found.
bash-5.2$ pip list
Package      Version
------------ -------
builddriver  0.9.0
bump2version 1.0.1
bumpversion  0.6.0
cmake        3.27.2
cmake-format 0.6.13
cmakelang    0.6.13
codespell    2.2.5
gcovr        6.0
Jinja2       3.1.2
lxml         4.9.3
MarkupSafe   2.1.3
ninja        1.11.1
pathspec     0.11.2
pip          23.2.1
Pygments     2.16.1
PyYAML       6.0.1
setuptools   67.6.1
six          1.16.0
yamllint     1.32.0
bash-5.2$ 

bash-5.2$ codespell 
Used config files:
    1: .codespellrc
./README.md:43: commited ==> committed
./README_building.md:26: followings ==> following
./README_building.md:53: followings ==> following
./README_building.md:94: wil ==> will, well
./.gitignore:7: spesific ==> specific
./test/CMakeLists.txt:13: Requiered ==> Required
./cmake/Utilities.cmake:1: subtring ==> substring
./cmake/VCEnvironment.cmake:22: Unkown ==> Unknown
./cmake/Cuda.cmake:45: Commant ==> Command, Comment
./.devcontainer/Dockerfile:76: dependecies ==> dependencies
./.devcontainer/.dockerignore:6: spesific ==> specific
./.github/workflows/template-janitor.yml:74: occurences ==> occurrences
bash-5.2$ 

@codecov-commenter
Copy link

codecov-commenter commented Sep 3, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (d19d892) 24.70% compared to head (ddb09bf) 24.70%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   24.70%   24.70%           
=======================================
  Files           6        6           
  Lines         251      251           
  Branches      142      142           
=======================================
  Hits           62       62           
  Misses        181      181           
  Partials        8        8           
Flag Coverage Δ
Linux 16.43% <ø> (ø)
Windows 21.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants