Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test_py2_compat: Test f-string detection | toonn | 2022-02-05 | 1 | -0/+25 |
| | |||||
* | Trying to ban f-strings | toonn | 2022-02-05 | 1 | -0/+8 |
| | |||||
* | Revert "manpage_completion_test: Drop disappeared Pylint options" | toonn | 2022-02-05 | 1 | -0/+1 |
| | | | | This reverts commit abcdb9b6d76cf56be55c037d90b1c299468d006a. | ||||
* | test_py2_compat: Message was renamed to MessageTest | toonn | 2022-02-05 | 1 | -7/+7 |
| | |||||
* | manpage_completion_test: Drop disappeared Pylint options | toonn | 2022-02-05 | 1 | -1/+0 |
| | |||||
* | tests: Ignore encoding in manpage test | toonn | 2021-08-27 | 1 | -3/+2 |
| | |||||
* | tests: Pylint complains about open and literals | toonn | 2021-08-27 | 1 | -2/+4 |
| | | | | | | | | | So let's use our new open23 to circumvent the lint. Updating the function to default to UTF-8. This is not the greatest solution but changing to `io.open` has performance repercussions and using `codecs.open` might change semantics so it would need thorough testing. | ||||
* | test_py2_compat: Test the new with-statement check | toonn | 2021-08-08 | 1 | -0/+26 |
| | |||||
* | py2_compat: Fix formatting for PEP8 | toonn | 2021-08-08 | 1 | -3/+3 |
| | |||||
* | py2_compat: Added check for with Popen | toonn | 2021-08-08 | 1 | -1/+19 |
| | | | | | Popen objects became context managers after Python 3.2 so we can't use them as such without a wrapper. | ||||
* | tests.manpage_completion: Use with | toonn | 2021-07-20 | 1 | -1/+2 |
| | | | | | This test revealed an exception that wasn't covered in `ranger/__init__.py` due to the refactor to a with-statement. | ||||
* | Fix test_py2_compat formatting | toonn | 2020-11-11 | 1 | -0/+1 |
| | |||||
* | Shortcut py2 incompatible pytest tests | toonn | 2020-11-11 | 1 | -0/+11 |
| | | | | | | Three of our pytest tests aren't compatible with python 2 by returning early from these testcases and always making them pass, we avoid false negatives in CI results. | ||||
* | Apply some PEP8 love to the pylint module and tests | toonn | 2020-07-05 | 2 | -20/+17 |
| | |||||
* | Implement python 2 compatibility checks | toonn | 2020-07-05 | 3 | -0/+287 |
| | | | | | | | | | We have been stuck on pylint <2 for a long time now because it dropped some of the python 2 lints we rely on. We maintain compatibility with python 2.6+ and 3.5+ and a lack of lints makes especially the former much harder. Incompatibilities had already snuck in in the form of implicit format specs. By implementing a custom checker we can make sure this doesn't happen again. | ||||
* | Refactor the bookmark validation code | Wojciech Siewierski | 2019-01-27 | 1 | -2/+7 |
| | | | | | Now it's trivial for the test module to mock the bookmark validation without introducing too much logic about this mocking to the actual class. | ||||
* | Make it easier to test bookmarks by optionally disabling validation | Wojciech Siewierski | 2019-01-27 | 1 | -2/+2 |
| | | | | | The test bookmarks were intentionally bogus as we cannot reliably predict valid paths on the test system, so validation doesn't make any sense there. | ||||
* | updated original filename | Jon Erling Hustadnes | 2018-12-18 | 1 | -1/+1 |
| | |||||
* | corrected for python 2.7 | Jon Erling Hustadnes | 2018-12-17 | 1 | -3/+3 |
| | |||||
* | Added check if bookmark file is a symlink. | Jon Erling Hustadnes | 2018-12-17 | 1 | -0/+17 |
| | | | | | If it is, the os.rename is performed on the original file path instead of overwriting the symlink. | ||||
* | Implemented unit test for recent fix | tau3 | 2018-02-15 | 2 | -0/+18 |
| | |||||
* | attempt to fix CI | hut | 2018-01-28 | 1 | -0/+2 |
| | |||||
* | fix tests | hut | 2018-01-28 | 1 | -4/+5 |
| | |||||
* | added test script that checks for man page completeness | hut | 2018-01-26 | 1 | -0/+54 |
| | |||||
* | container.fsobject: Fix natural sort | nfnty | 2017-01-24 | 1 | -4/+23 |
| | | | | Fixes #749 | ||||
* | Python 3 division: Import `division` from `__future__` | nfnty | 2017-01-21 | 3 | -3/+3 |
| | |||||
* | linting: Python 2 compat: Import from `__future__` | nfnty | 2017-01-17 | 3 | -0/+6 |
| | |||||
* | linting: pylint and flake8 | nfnty | 2017-01-17 | 3 | -54/+54 |
| | |||||
* | Fix misspellings | stepshal | 2016-06-26 | 2 | -2/+2 |
| | |||||
* | Remove whitespace in blank lines | stepshal | 2016-06-19 | 1 | -2/+2 |
| | |||||
* | Merge branch 'E301' of https://github.com/stepshal/ranger | hut | 2016-06-18 | 1 | -0/+2 |
|\ | |||||
| * | Add one blank line where is expected | stepshal | 2016-06-16 | 1 | -0/+2 |
| | | |||||
* | | Add two blank lines where is expected | stepshal | 2016-06-16 | 2 | -0/+2 |
|/ | |||||
* | Make exactly one space after comma | stepshal | 2016-06-06 | 1 | -1/+1 |
| | | | | Update commands.py | ||||
* | test_fsobject: fix syntax error | hut | 2016-03-25 | 1 | -2/+2 |
| | |||||
* | Remove accidental prints for debugging | lverweijen | 2016-03-22 | 1 | -4/+0 |
| | |||||
* | Make natural_sort's behaviour better defined | lverweijen | 2016-03-08 | 1 | -0/+38 |
| | | | | | | | The old version relied on comparing integers to strings which is not supported in Python 3 anymore and not a good practice in general anyway. It was also the case that 'hello2' was ordered before 'hello' instead of after, which I found to be non-intuitive. | ||||
* | container.history: fixed rebase() unit test | hut | 2016-02-28 | 1 | -3/+4 |
| | |||||
* | bookmarks: add test | Laurent Charignon | 2016-01-31 | 1 | -0/+52 |
| | |||||
* | history: fix logic error and add test for all the methods | Laurent Charignon | 2016-01-31 | 1 | -2/+96 |
| | |||||
* | tests: add a dummy pytest test and add it to the make test step | Laurent Charignon | 2016-01-31 | 4 | -0/+5 |