Closed sweep-mine[bot] closed 9 months ago
tests/test_statistics.py
. ✗
Sandbox logs for
poetry run pylint -E **/*.py
1/1 ❌ (`2`)************* Module tests.test_statistics tests/test_statistics.py:56:63: E0001: Parsing failed: 'unindent does not match any outer indentation level (, line 56)' (syntax-error)
tests/test_statistics.py
. ✗
Sandbox logs for
poetry run pylint -E **/*.py
1/1 ❌ (`2`)************* Module tests.test_statistics tests/test_statistics.py:56:63: E0001: Parsing failed: 'unindent does not match any outer indentation level (, line 56)' (syntax-error)
tests/test_statistics.py
. ✗
Sandbox logs for
poetry run pylint -E **/*.py
1/1 ❌ (`2`)************* Module tests.test_statistics tests/test_statistics.py:56:63: E0001: Parsing failed: 'unindent does not match any outer indentation level (, line 56)' (syntax-error)
The command:
Run # stop the build if there are Python syntax errors or undefined names
yielded the following error:
##[error]Process completed with exit code 1.
Here are the logs:
./tests/test_statistics.py:56:64: E999 IndentationError: unindent does not match any outer indentation level
1 E999 IndentationError: unindent does not match any outer indentation level
1
Done.
Description
This pull request adds unit tests for the Statistics class to ensure its functionality and accuracy.
Summary
Fixes #18.
🎉 Latest improvements to Sweep:
rope
library to refactor Python! Check out Large Language Models are Bad at Refactoring Code. To have Sweep refactor your code, trysweep: Refactor <your_file>.py
!💡 To get Sweep to edit this pull request, you can: