cryptography/vectors/cryptography_vectors/__init__.py
Alex Gaynor 7ff729ecf2
Switch from flake8 to ruff (#7920)
It's more than 60x faster.
2022-12-21 09:44:47 +07:00

17 lines
447 B
Python

# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
import os
import typing
from cryptography_vectors.__about__ import __version__
__all__ = [
"__version__",
]
def open_vector_file(filename: str, mode: str) -> typing.IO:
base = os.path.dirname(__file__)
return open(os.path.join(base, filename), mode)