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

doc/conf.py executes generated python scripts, consider importing them #106

Open
bast opened this issue Nov 20, 2017 · 1 comment
Open

Comments

@bast
Copy link
Member

bast commented Nov 20, 2017

However to do this the generated code would need to be wrapped in a function. I poked into some of these scripts (I didn't check what exactly they do) and they execute in the main scope.

@robertodr
Copy link
Member

Points to consider when refactoring the bar chart generation code:

  • Drop dependency on PyYAML. This is used to write out and read in the results from the cloc.pl script.
  • Drop dependency on Pygments. Currently needed to correctly infer what's the programming language of a given source code subdirectory. This helps parsing the output of the cloc.pl script.

@robertodr robertodr mentioned this issue Apr 7, 2018
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants