-
Notifications
You must be signed in to change notification settings - Fork 23
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
More stats #408
More stats #408
Conversation
Can you improve the installation instructions for |
yes installed it with pip... we could also use non python code to do the counting... |
Or do the counting manually in Python? Iterating over files in directories and discarding comments in 5 languages shouldn't be too much code 🙂 |
I would say counting this ourselves is not an option... and just for the fun, how many c++ lines of code are this:
cloc says 2 where as pygount says 1... |
any idea for more stats that we want to calculate? |
@RagnarGrootKoerkamp the code now only requires pygments and not pygount, is that easier to install? |
Fixed the rebase, it looked like all commits from master ended up in this branch without the base actually changing, so the commits were duplicated 😛 But not anymore 😄 I can confirm that it works on my machine, I already had I'm not sure if |
whoops and thanks ^^
hm simply |
Hmm, |
Tested the latest version and LGTM, so feel free to merge. Haven't checked the latest code in detail. |
@@ -21,6 +21,8 @@ repos: | |||
- ruamel.yaml==0.18.6 | |||
- questionary==2.0.1 | |||
- types-colorama==0.4.15.20240311 | |||
- types-Pygments==2.18.0.20240506 | |||
- types-python-dateutil==2.9.0.20241003 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not datetime.strptime
(https://stackoverflow.com/a/2265383) to avoid an additional dependency?
Also, this/these additional (optional) dependenc(y/ies) should be mentioned in other places, I think.
Didn't check the code inside |
more stats (mostly useful as fun stats for solution slides)