Fix pylint configuration, script and matcher (#491)

* Fix pylint configuration, script and matcher

* Makes yapf happy

* Fix one-liner docstring

* Fix one-liner docstring
This commit is contained in:
Jean-Michel Picod
2022-06-07 20:39:22 +02:00
committed by GitHub
parent 12f6ed6e0b
commit 15233dba3e
5 changed files with 397 additions and 200 deletions

View File

@@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Tools that implements vendor-specific CTAP2 commands to configure OpenSK."""
from __future__ import absolute_import
from __future__ import division
@@ -121,7 +122,7 @@ def main(args):
cert.public_bytes(serialization.Encoding.DER),
2:
priv_key.private_numbers().private_value.to_bytes(
length=32, byteorder='big', signed=False)
length=32, byteorder="big", signed=False)
}
devices = get_opensk_devices(args.batch)