Jrnl Bot
b23c831da5
Update changelog [ci skip]
2021-07-31 19:11:33 +00:00
Jrnl Bot
eaaa7bb0e1
Increment version to v2.8.2
2021-07-31 19:10:05 +00:00
Jrnl Bot
c49853d724
Update changelog [ci skip]
2021-07-31 18:47:00 +00:00
dependabot[bot]
642155292a
Bump mkdocs from 1.2.1 to 1.2.2 ( #1307 )
...
Bumps [mkdocs](https://github.com/mkdocs/mkdocs ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/mkdocs/mkdocs/releases )
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.2.1...1.2.2 )
---
updated-dependencies:
- dependency-name: mkdocs
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-31 11:45:19 -07:00
Micah Jerome Ellison
c9c6e7efc1
Fix typo in --help ( #1309 )
2021-07-31 11:43:19 -07:00
Jrnl Bot
1ba1b756c9
Update changelog [ci skip]
2021-07-17 22:17:56 +00:00
Jrnl Bot
f158d7f266
Increment version to v2.8.2-beta
2021-07-17 22:16:08 +00:00
Jrnl Bot
cef3a98b4e
Update changelog [ci skip]
2021-07-17 20:23:48 +00:00
Micah Jerome Ellison
31f782e333
Add documentation about saved passwords in Windows ( #1301 )
...
* Add note about saved passwords
* Add missing yq dep back in to allow xq to run in mkdocs CI pipeline
2021-07-17 13:22:01 -07:00
Jrnl Bot
3e95a46bd2
Update changelog [ci skip]
2021-07-17 19:15:00 +00:00
dependabot[bot]
52c0a0ebf3
Bump python-dateutil from 2.8.1 to 2.8.2 ( #1302 )
...
Bumps [python-dateutil](https://github.com/dateutil/dateutil ) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/dateutil/dateutil/releases )
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS )
- [Commits](https://github.com/dateutil/dateutil/compare/2.8.1...2.8.2 )
---
updated-dependencies:
- dependency-name: python-dateutil
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-17 12:13:19 -07:00
Jrnl Bot
b896c85bf0
Update changelog [ci skip]
2021-07-17 19:03:29 +00:00
Micah Jerome Ellison
7b72b24ee2
Add first draft of security.md ( #1299 )
2021-07-17 12:01:59 -07:00
Jonathan Wren
e771c9da81
Update lock file from poetry stable version ( #1298 )
2021-07-10 13:53:00 -07:00
Jrnl Bot
9bd395007f
Update changelog [ci skip]
2021-07-10 19:14:56 +00:00
Micah Jerome Ellison
2723e1cfb5
Add Python 3.10 support ( #1271 )
...
* Add Python 3.10 support
* Change Python 3.10 to 3.10-dev in CI
* Run poetry update
* Turn off fail-fast to troubleshoot
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
* Add continue-on-error for 3.10
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
* use prerelease poetry for prerelease python
* fix syntax error
* rename steps to make more sense
* remove dev dependency that breaks with python 3.10
* update tests
* Change test dependencies for minimal breakage on python 3.10
- loosen the test dep requirements (so we get warned about these
problems sooner)
- add new extras group to provide minimal deps required for testing (we
don't need to run static analysis again on every version)
* change how we check if deps are installed so test don't run wild
* add setuptools due to poetry bug, clean up other steps
* update lock file
* test
* Revert "test"
This reverts commit 31e538300e
.
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-10 12:13:15 -07:00
Jrnl Bot
56df419bea
Update changelog [ci skip]
2021-07-03 22:52:14 +00:00
Micah Jerome Ellison
9e3153453e
Change all instances of FullLoader to SafeLoader ( #1285 )
2021-07-03 15:50:36 -07:00
Jonathan Wren
26484130c3
remove old comment
2021-07-03 15:49:18 -07:00
Jonathan Wren
495956d907
remove init file that is no longer neded
2021-07-03 15:49:18 -07:00
Jonathan Wren
d95dab9f0c
add actual lib directory even though it's in gitignore for some reason
2021-07-03 15:49:18 -07:00
Jonathan Wren
f99411f2f9
move some files around because pytest is being weird
2021-07-03 15:49:18 -07:00
Jonathan Wren
cdad0d6289
Replace pyflakes with flake8 for linting
2021-07-03 15:49:18 -07:00
Jonathan Wren
c5a7d7027c
Move pytest-bdd code into separate files
...
Now that all the tests are passing, this breaks them up into a few
different files to make everything more organized.
Note: Pyflakes is complaining about some unused import statements.
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
54e5e96ad2
Force GitHub Actions to preserve line endings
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
fd349fb0fc
Implement ExitStack to handle mocks in pytest-bdd
...
- Fix failing DayOne test
- Make format and clean up extraneous comment
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
0c8efd5331
Cleanup last few tests
...
- Misc linting issues
- Whitespace cleanup
- Entire test suite is now passing
- Add misc todo items in comments
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
5572833652
Rewrite config checking steps in pytest-bdd
...
- Take out old type coersion (it was causing needles complexity)
- Take out `read_value_from_string` function
- Use taml parser to parse yaml instead of using custom function
- Update tests to use new implementation
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
b7b7bad2fb
Clarify and cleanup tests
...
- Run formatter
- Take out old tags
- Use new steps on tests
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
44b1762b7d
Implement stream redirection in pytest-bdd
...
- Take out old steps from format and input tests
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
512fb63e1f
Implement test to check editor temporary filename
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
5d4d68fe32
Implement directory changing and relative directory test
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
7647755e96
Implement journal existence check
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
ef25c50e16
Implement step for directory journals
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
4aabb73847
Implement datetime handling in pytest-bdd
...
- This was awful and convoluted
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
cda07bf8d9
Make steps use new config file
...
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
e19fab0615
Add new config file (for use in pytest-bdd)
...
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
e0980cf396
Update tests to use more scenario outlines
...
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
3d29b6b6a1
Fix star and tag feature language and add output should be empty test
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
8faa3ae32d
Update tests to use new steps
...
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
d15e683955
Update search features to use new steps
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Jonathan Wren
3ddfb4d594
Implement editor-related steps in pytest-bdd
...
- Implement mock editor fixture
- Add fixture to keep track of editor state
- Implement various steps to check editor state
Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
ce64d7973b
Implement @skip_win and @skip_editor
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
36dc01bf30
Fixing custom template test and skipping some broken tests
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
148d3fdb18
Update test w/ new steps
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
a6a4417eff
Fix annoying poetry-generated Windows line endings
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
849ed16d67
Install pytest-icdiff and run poetry lock
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
11e0e84dcf
Fix test failing from lack of whitespace
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
430182a0a5
Implement JSON tests and remove "node" nomenclature from tests
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00
Micah Jerome Ellison
48c9d9fa16
Implement tag tests in JSON
...
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2021-07-03 15:49:18 -07:00