32 Commits

Author SHA1 Message Date
4690dbee32 PyLint: Fix recognition of new lines
Since we prevent \r\r\n line breaks in the buffer (and rather return \r\n), we can also change the recognition of line breaks for the ASSERTION_ERROR_REGEXP.
2023-09-24 15:46:57 +02:00
6d107ba2f4 Fix Linter translation with multi-line expression
Fixes CODEOCEAN-V1
2023-09-20 00:35:50 +02:00
922ba5df4e Fix rubocop offenses 2023-01-02 10:06:00 +01:00
574e99eddd Fix rubocop offenses - Requires Ruby 3.1+ 2022-11-25 11:10:06 +01:00
be9cbedadf Fix invalid method call to I18n.t() with Ruby 3.1 2022-08-12 17:11:30 +02:00
ea85519163 Update bundle (with newest rubocop version) and fix offenses 2022-01-04 09:42:37 +01:00
e37683a1b2 Fix linting issue for PyLint adapter 2021-11-02 15:53:49 +01:00
3d3478d859 Test Adapters: Always use the last output for score runs
* This prevents learners from cheating by printing the required status line themselves
2021-11-02 15:52:49 +01:00
7010614a75 Re-enable translation of linter messages 2021-06-28 22:11:00 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
b10e23dd16 Upgrade to newest Sentry 2021-03-04 14:02:16 +01:00
ad3e4ce4e2 Use default language for PyLint if non is specified 2021-01-24 22:33:35 +01:00
37d92cadc6 Prevent logging unknown PyLint messages 2021-01-24 22:27:29 +01:00
ae47913ca8 Pass locale to PyLint translator and allow switchable output 2021-01-20 22:41:49 +01:00
b1f21509ae Log info about timeout in RegEx 2021-01-11 18:18:13 +01:00
f15c9f9251 PyLint: Add Sentry capture if no match found 2020-11-30 18:33:16 +01:00
519fe43d4f Adjust PyLint log again to reduce Sentry messages 2020-11-17 23:45:32 +01:00
4523cebbdc Adjust PyLint log to reduce Sentry messages 2020-11-17 23:22:35 +01:00
82169b3afc Exclude keys from syntax error 2020-11-14 00:04:23 +01:00
5fe1590b39 Add filter for unknown PyLint messages 2020-11-13 22:52:56 +01:00
56b6cc1477 Hotfix: Convert Hash to JSON before sending to Sentry 2020-11-12 15:02:51 +01:00
7faae55ff5 Log unknown PyLint values to Sentry for translation 2020-11-11 17:20:08 +01:00
4d09c8a6d6 Prevent exception if no detailed_linter_results are available 2020-11-09 00:00:31 +01:00
5fdfb12e62 Add German translations for PyLint adapter with basic spec 2020-11-08 01:04:39 +01:00
e01f2f9ee6 Improve PyLintAdapter to match more results 2020-10-26 21:14:09 +01:00
d12c72b04e Add filename to PyLint Adapter 2020-10-25 16:12:16 +01:00
380b1a5ba1 Get more details from PyLint 2020-10-24 16:11:12 +02:00
9beefd0feb Improve PyLint RegEx to match single lines
* Also return more detailed results for further analysis
2020-10-23 22:23:57 +02:00
712810dada Allow negative scores for PyLintAdapter and improve regex handling 2020-10-20 12:16:46 +02:00
b5c5790d7e Fix timeout for PyLint and PyUnit Adapter 2020-05-14 01:55:01 +02:00
ba8e08aee4 Add timeout for PyLint and PyUnit Adapter 2020-05-13 01:27:33 +02:00
4bf483cfb3 Add PyLint Adapter and a combined PyUnit and PyLint adapter. 2020-05-05 16:52:28 +02:00