Replies: 7 comments 10 replies
-
converted to discussion |
Beta Was this translation helpful? Give feedback.
-
Sure! The simplest stylistic changes I make are done be
For existing PRs, you can run
|
Beta Was this translation helpful? Give feedback.
-
Simple, but not easily automatable:
Complex:
|
Beta Was this translation helpful? Give feedback.
-
On a more general note about testing: I'm currently downloading the Tika test dataset of 800,000 PDF files. Well, a part of it as my laptop doesn't have enough storage 😅 I plan to run simple operations over all of those files to ensure that we don't crash. The other path I'm trying to go is to increase test coverage to 100% and kill all mutants found by the mutmut mutation tester (intro to mutation testing if you're curious). Increasing test coverage is typically also easier if you have smaller functions. Then you just test the function - you might not even need a PDF for that. Those test typically also run faster, but there is a higher risk that you're testing something that cannot happen / that the test itself is not so good. Mutation testing improves the quality of the tests. |
Beta Was this translation helpful? Give feedback.
-
@MartinThoma , @MasterOdin |
Beta Was this translation helpful? Give feedback.
-
I would replace flake8 with Pylint. It takes some time to get rid of all the messages but it worth it in my opinion. |
Beta Was this translation helpful? Give feedback.
-
May I suggest to restore label "Help Wanted" in github in order to try to get attention of other developpers on some issues? |
Beta Was this translation helpful? Give feedback.
-
@MartinThoma,
To prevent too many cosmetic commits can you please re-clarify what are the command line parameters and config file used during generation.
Also, do you have some reference/recommendation about codevod to propose the best coverage : I was expecting more pdf input files to cover coverage, but not sure it's working
Beta Was this translation helpful? Give feedback.
All reactions