<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyjwt.git/tests/test_algorithms.py, branch version-2.0.1</title>
<subtitle>github.com: progrium/pyjwt.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/'/>
<entry>
<title>Combine identical test functions using pytest.mark.parametrize() (#574)</title>
<updated>2020-12-21T19:28:11+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-21T19:28:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=06523a08c6c64e2438d2259adeed3ed6bedabacb'/>
<id>06523a08c6c64e2438d2259adeed3ed6bedabacb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify black configuration to be closer to upstream defaults (#568)</title>
<updated>2020-12-21T16:30:48+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-21T16:30:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=811ae79ceaae8ad9bbad24c30e2d3dd4d920e4df'/>
<id>811ae79ceaae8ad9bbad24c30e2d3dd4d920e4df</id>
<content type='text'>
* Simplify black configuration to be closer to upstream defaults

Avoid extra configuration by simply going with Black defaults. This
allows removing some configuration options, thus simplifying the overall
configuration.

It also makes the code style closer to community conventions. As more
projects adopt black formatting, more code will look like the black
defaults.

Further, the default 88 tends to create more readable lines, IMO. The
black rationale is located at:
https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length

* Update tests/test_api_jws.py

Co-authored-by: José Padilla &lt;jpadilla@webapplicate.com&gt;

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update tests/test_api_jws.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: José Padilla &lt;jpadilla@webapplicate.com&gt;
Co-authored-by: pre-commit-ci[bot] &lt;66853113+pre-commit-ci[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Simplify black configuration to be closer to upstream defaults

Avoid extra configuration by simply going with Black defaults. This
allows removing some configuration options, thus simplifying the overall
configuration.

It also makes the code style closer to community conventions. As more
projects adopt black formatting, more code will look like the black
defaults.

Further, the default 88 tends to create more readable lines, IMO. The
black rationale is located at:
https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length

* Update tests/test_api_jws.py

Co-authored-by: José Padilla &lt;jpadilla@webapplicate.com&gt;

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update tests/test_api_jws.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: José Padilla &lt;jpadilla@webapplicate.com&gt;
Co-authored-by: pre-commit-ci[bot] &lt;66853113+pre-commit-ci[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer ModuleNotFoundError over ImportError (#565)</title>
<updated>2020-12-21T16:05:53+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-21T16:05:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=541dd0dd8cafacc0aff9fa36cf04251c535f69eb'/>
<id>541dd0dd8cafacc0aff9fa36cf04251c535f69eb</id>
<content type='text'>
ModuleNotFoundError was introduced in Python 3. It is raised when the
module does not exist. On the other hand, ImportError is raised during
any import failure. For example, a syntax error or other runtime error.

Using ModuleNotFoundError means that errors unrelated to a missing
package will be propagated to the user. PyJWT doesn't know how to handle
these.

This also allows more functions to always be available for import</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ModuleNotFoundError was introduced in Python 3. It is raised when the
module does not exist. On the other hand, ImportError is raised during
any import failure. For example, a syntax error or other runtime error.

Using ModuleNotFoundError means that errors unrelated to a missing
package will be propagated to the user. PyJWT doesn't know how to handle
these.

This also allows more functions to always be available for import</pre>
</div>
</content>
</entry>
<entry>
<title>Add utility functions to assist test skipping (#563)</title>
<updated>2020-12-19T23:40:27+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-19T23:40:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=9acab9cad0ee536f41aca39f5d4cf09680bf1ffb'/>
<id>9acab9cad0ee536f41aca39f5d4cf09680bf1ffb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace force_bytes()/force_unicode() in tests with literals (#541)</title>
<updated>2020-12-17T07:38:14+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-17T07:38:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=db4d2f09a1e5ba0b9fdab49d9e51006c60de2b63'/>
<id>db4d2f09a1e5ba0b9fdab49d9e51006c60de2b63</id>
<content type='text'>
Now that Python 2 has been dropped, can safely use bytes
literals (b"abc") and string literals.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that Python 2 has been dropped, can safely use bytes
literals (b"abc") and string literals.</pre>
</div>
</content>
</entry>
<entry>
<title>Run pyupgrade to simplify code and use Python 3.6 syntax (#536)</title>
<updated>2020-12-16T22:20:03+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-16T22:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=9324d6f007bbd0a48edafe1889d0af7eb0064103'/>
<id>9324d6f007bbd0a48edafe1889d0af7eb0064103</id>
<content type='text'>
pyugrade is a command line tool to automatically update Python syntax to
modern usage and patterns. For additional details, see:

https://github.com/asottile/pyupgrade

Changes made by the tool:

- Use short Python3 super() syntax.
- Use f-strings when they are simple and more readable.
- Drop Python 2 u prefix from strings.
- Drop "r" argument from open(). It is the default and so specifying it is
  unnecessary.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pyugrade is a command line tool to automatically update Python syntax to
modern usage and patterns. For additional details, see:

https://github.com/asottile/pyupgrade

Changes made by the tool:

- Use short Python3 super() syntax.
- Use f-strings when they are simple and more readable.
- Drop Python 2 u prefix from strings.
- Drop "r" argument from open(). It is the default and so specifying it is
  unnecessary.</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade black version and usage (#538)</title>
<updated>2020-12-16T20:30:03+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-16T20:30:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=a086e61af8f12384045079e38fd62a9f09c8985b'/>
<id>a086e61af8f12384045079e38fd62a9f09c8985b</id>
<content type='text'>
Upgrade black to version 20.8b1 and specify that Python 3.6+ syntax
should be used.

Run it on all files to upgrade syntax.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upgrade black to version 20.8b1 and specify that Python 3.6+ syntax
should be used.

Run it on all files to upgrade syntax.</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade to isort 5 and adjust configurations (#533)</title>
<updated>2020-12-16T16:31:50+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-12-16T16:31:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=69cd38171971004eb8fd86ba7fa1662c20f409f5'/>
<id>69cd38171971004eb8fd86ba7fa1662c20f409f5</id>
<content type='text'>
With isort 5, asottile/seed-isort-config is deprecated and unnecessary.

The official isort main repo now has a pre-commit hook file.

isort is now better at recognizing first party and third party packages.

isort can now handle imports inside blocks, files have been updated.

isort now supports "profiles" for simpler configuration.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With isort 5, asottile/seed-isort-config is deprecated and unnecessary.

The official isort main repo now has a pre-commit hook file.

isort is now better at recognizing first party and third party packages.

isort can now handle imports inside blocks, files have been updated.

isort now supports "profiles" for simpler configuration.</pre>
</div>
</content>
</entry>
<entry>
<title>Implementation of ECAlgorithm.from_jwk (#500)</title>
<updated>2020-08-24T16:21:54+00:00</updated>
<author>
<name>José Padilla</name>
<email>jpadilla@webapplicate.com</email>
</author>
<published>2020-08-24T16:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=66e39be5349f4671b9f6cca8974691070406fa92'/>
<id>66e39be5349f4671b9f6cca8974691070406fa92</id>
<content type='text'>
* ECAlgorithm.to_jwk

* Fix failing linting

Co-authored-by: Evert Lammerts &lt;evert@lucipher.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ECAlgorithm.to_jwk

* Fix failing linting

Co-authored-by: Evert Lammerts &lt;evert@lucipher.net&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Drop deprecation warnings (#515)</title>
<updated>2020-08-24T16:00:06+00:00</updated>
<author>
<name>José Padilla</name>
<email>jpadilla@webapplicate.com</email>
</author>
<published>2020-08-24T16:00:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyjwt.git/commit/?id=f690976596bb74221f5a81fc9afffd5609bc4e70'/>
<id>f690976596bb74221f5a81fc9afffd5609bc4e70</id>
<content type='text'>
* Drop deprecation warnings

* Add missing keys

* Remove commented exceptions

* Undo lambda change

* Remove unused keys</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Drop deprecation warnings

* Add missing keys

* Remove commented exceptions

* Undo lambda change

* Remove unused keys</pre>
</div>
</content>
</entry>
</feed>
