jrnl/tests/unit
Micah Jerome Ellison 34c7903300
Replace flake8 and isort with ruff linter and add black --check to linting step (#1763)
* Add ruff

* Add ruff config

* Add ruff rules that look useful and are already passing

* Add more ruff rules after talking with Jonathan

* Add line length exception for acceptably long indented line

* Resolve ruff line length 88 rule in args. Changing small lines but adding a noqa ignore directive to longer lines that look best as they are. Their dedented length is still less than 88

* poe format

* Resolve all remaining ruff line length errors

* Replace flake* and isort with ruff calls

* Add black --check as final lint step. ruff catches most but not all black formatting issues

* Remove unneeded flakeheaven setting

* Remove flake* and isort now that ruff is handling all their business

* Update pyproject, lockfile with latest version of ruff

* Document each ruff rule with comment

* Add black --version call before black --check

* Remove extraneous period
2023-07-15 12:35:10 -07:00
..
test_color.py Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
test_config_file.py Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
test_controller.py Allow combinations of --change-time, --delete, and --edit while correctly counting the number of entries affected (#1669) 2023-03-25 12:32:25 -07:00
test_editor.py Refactor --template code (#1711) 2023-05-20 16:13:24 -07:00
test_export.py Allow combinations of --change-time, --delete, and --edit while correctly counting the number of entries affected (#1669) 2023-03-25 12:32:25 -07:00
test_install.py Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
test_journals_folder_journal.py Only read text files that look like entries when opening folder journal (#1697) 2023-04-29 15:49:41 -07:00
test_os_compat.py Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
test_output.py Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
test_override.py Allow combinations of --change-time, --delete, and --edit while correctly counting the number of entries affected (#1669) 2023-03-25 12:32:25 -07:00
test_parse_args.py Replace flake8 and isort with ruff linter and add black --check to linting step (#1763) 2023-07-15 12:35:10 -07:00
test_path.py Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
test_time.py Only read text files that look like entries when opening folder journal (#1697) 2023-04-29 15:49:41 -07:00