Skip to content

Commit

Permalink
style: Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: loonghao <[email protected]>
  • Loading branch information
loonghao committed May 9, 2024
1 parent 74017fe commit d77aa40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def _setup_maya(maya_version):
"""Set up the appropriate Maya version for testing."""
try:
import winreg # noqa: F401
import winreg
except ImportError:
return {}
try:
Expand Down Expand Up @@ -196,7 +196,7 @@ def add_dynamic_maya_standalone_session(maya_version, mayapy, command):
@nox.session(name=session_name, python=False)
def dynamic_session(session: nox.Session):
parser = argparse.ArgumentParser(prog=f"nox -s maya-{maya_version}-s")
parser.add_argument("pattern", type=str)
parser.add_argument("pattern", type=str)
args = parser.parse_args(session.posargs)
session.run(
mayapy,
Expand Down Expand Up @@ -256,5 +256,5 @@ def make_install_zip(session: nox.Session):
for file in files:
zip_obj.write(os.path.join(root, file),
os.path.relpath(os.path.join(root, file),
os.path.join(build_root, '.')))
os.path.join(build_root, ".")))
print("Saving to %s" % zip_file)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ exclude = [
"site-packages",
"venv",
"dev",
"maya_umbrella/_vendor/",
"noxfile.py",
"maya_umbrella/_vendor/"
]
line-length = 120

Expand Down

0 comments on commit d77aa40

Please sign in to comment.