Skip to content

Commit

Permalink
Fix newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
William Tisäter committed Oct 29, 2023
1 parent 8a0f0b2 commit da78ffc
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/target
/.shadowenv.d
*.so
__pycache__/
__pycache__/
6 changes: 4 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"[rust]": {
"editor.formatOnSave": true
},
"files.insertFinalNewline": true,
"files.exclude": {
"**/*.so": true,
"**/.git": true,
Expand All @@ -12,6 +13,7 @@
"**/Thumbs.db": true,
"**/__pycache__": true,
"target": true,
".pytest_cache": true,
"**/.pytest_cache": true,
".coverage": true,
}
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Rust powered Python package for signing data in S/MIME format

MIT

A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ except VerifyError as e:
```bash
$ python verify.py
Some data to sign
```
```
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ plugins:
separate_signature: true
show_signature_annotations: true
merge_init_into_class: true
show_if_no_docstring: false
show_if_no_docstring: false
2 changes: 1 addition & 1 deletion python/rsmime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__doc__ = rsmime.__doc__
if hasattr(rsmime, '__all__'):
__all__ = rsmime.__all__
__all__ = rsmime.__all__
2 changes: 1 addition & 1 deletion tests/test_rsmime.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ def test_rsmime_verify_expired(self):
data = b'abc'
signed_data = rsmime.sign('tests/data/expired.crt', 'tests/data/certificate.key', data)
with pytest.raises(exceptions.CertificateExpiredError):
rsmime.verify(signed_data, throw_on_expired=True)
rsmime.verify(signed_data, throw_on_expired=True)

0 comments on commit da78ffc

Please sign in to comment.