Closed tnzmnjm closed 3 months ago
created a branch 37-add-support-to-query-local-copies-of-a-codebase-rather-than-relying-on-githubs-apis
created a script src/github_repo_request_local.py
wrote the script to clone a repo from a csv and count the file names/path which has the word test
in them
was getting an error for the pre-commit stages when tried to push the code, had to run : ruff check github_repo_request_local.py
and pre-commit run --all-files
manually and then was able to push the code to the branch
pathlib
package for getting the result{'.txt', '.md', '.h', '.xml', '.html', '.json'}
).kt
files which are counted in the new script in the previous script the test count is 0 but in the new script it is 263 . .kt
extension which is commonly known as Kotlin file extension. The Kotlin is a general-purpose cross-platform programming language developed by JetBrains to be fully interoperable with Java. The Kotlin trademark is protected by the Kotlin Foundation.cloned_repos/reload/tests/peer_link, cloned_repos/reload/tests/test_dtls.py
, cloned_repos/reload/tests/test_message_types.py
, cloned_repos/reload/docs/testing.rst
)git config --global core.editor nano
warner/magic-wormhole
changed to magic-wormhole/magic-wormhole
) and the previous script was not able to count the files but this issue is addressed with the new approach (downloading the repo locally)
@julianharty Creating a placeholder issue for this work. For more details please see the earlier ticket #7 which presents a range of approaches.