-
Notifications
You must be signed in to change notification settings - Fork 8
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 linter #8
Milestone
Comments
I changed Makefile .PHONY: lint
lint:
@docker pull ${DOCKER_LINTER_IMAGE}
@docker run --rm -v ${ROOT}:/app ${DOCKER_LINTER_IMAGE} " \
lint-commit ${LINT_COMMIT_TARGET_BRANCH} \
&& lint-markdown \
&& lint-python urnai" I used The code to count the number of occurrences of each error: import re
from collections import Counter
# Counts the number of occurrences of each error
with open('errors.txt', 'r') as file_errors:
errors = [re.search('[A-Z]{1}[0-9]{3}', row).group(0) for row in file_errors.readlines()]
counter = Counter(errors) We have a total of 5954 errors. Error groups
Top 10 errors
All errors
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: