Skip to content

Commit

Permalink
2.0.1 - Fix ruff warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed May 17, 2024
1 parent b72a32e commit 50f9f69
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- run: |
mk python-release owner=vkottler \
repo=vmklib version=2.0.0
repo=vmklib version=2.0.1
if: |
matrix.python-version == '3.11'
&& matrix.system == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Vaughn Kottler
Copyright (c) 2024 Vaughn Kottler

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
=====================================
generator=datazen
version=3.1.4
hash=1edf832482aababbb80a2508e4e5b3ce
hash=68e3174cbaf5e937620f00c5fe69e651
=====================================
-->

# vmklib ([2.0.0](https://pypi.org/project/vmklib/))
# vmklib ([2.0.1](https://pypi.org/project/vmklib/))

[![python](https://img.shields.io/pypi/pyversions/vmklib.svg)](https://pypi.org/project/vmklib/)
![Build Status](https://github.com/vkottler/vmklib/workflows/Python%20Package/badge.svg)
Expand Down
2 changes: 1 addition & 1 deletion config
2 changes: 1 addition & 1 deletion local/variables/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
major: 2
minor: 0
patch: 0
patch: 1
entry: mk
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta:__legacy__"

[project]
name = "vmklib"
version = "2.0.0"
version = "2.0.1"
description = "Simplify project workflows by standardizing use of GNU Make."
readme = "README.md"
requires-python = ">=3.10"
Expand Down
4 changes: 2 additions & 2 deletions vmklib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================================
# generator=datazen
# version=3.1.4
# hash=323a37ac953da26ff2b3ae5654e60ac6
# hash=0b06924a9490f122f646f491d43e5fd6
# =====================================

"""
Expand All @@ -10,4 +10,4 @@

DESCRIPTION = "Simplify project workflows by standardizing use of GNU Make."
PKG_NAME = "vmklib"
VERSION = "2.0.0"
VERSION = "2.0.1"
2 changes: 2 additions & 0 deletions vmklib/tasks/python/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class PythonLinter(SubprocessLogMixin):
"""A task for running a Python linter."""

default_requirements = {"venv"}
linter_args: dict[str, list[str]] = {"ruff": ["check"]}

@staticmethod
def source_args(cwd: Path, project: str, **kwargs) -> List[str]:
Expand Down Expand Up @@ -51,6 +52,7 @@ async def run(self, inbox: Inbox, outbox: Outbox, *args, **kwargs) -> bool:

return await self.exec(
str(inbox["venv"]["venv{python_version}"]["bin"].joinpath(linter)),
*self.linter_args.get(linter, []),
*args[2:],
# Get extra arguments from the environment.
*environ_fallback_split(
Expand Down

0 comments on commit 50f9f69

Please sign in to comment.