Skip to content

Commit 50f9f69

Browse files
committed
2.0.1 - Fix ruff warning
1 parent b72a32e commit 50f9f69

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
7070
- run: |
7171
mk python-release owner=vkottler \
72-
repo=vmklib version=2.0.0
72+
repo=vmklib version=2.0.1
7373
if: |
7474
matrix.python-version == '3.11'
7575
&& matrix.system == 'ubuntu-latest'

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Vaughn Kottler
3+
Copyright (c) 2024 Vaughn Kottler
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
=====================================
33
generator=datazen
44
version=3.1.4
5-
hash=1edf832482aababbb80a2508e4e5b3ce
5+
hash=68e3174cbaf5e937620f00c5fe69e651
66
=====================================
77
-->
88

9-
# vmklib ([2.0.0](https://pypi.org/project/vmklib/))
9+
# vmklib ([2.0.1](https://pypi.org/project/vmklib/))
1010

1111
[![python](https://img.shields.io/pypi/pyversions/vmklib.svg)](https://pypi.org/project/vmklib/)
1212
![Build Status](https://github.com/vkottler/vmklib/workflows/Python%20Package/badge.svg)

local/variables/package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
major: 2
33
minor: 0
4-
patch: 0
4+
patch: 1
55
entry: mk

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta:__legacy__"
44

55
[project]
66
name = "vmklib"
7-
version = "2.0.0"
7+
version = "2.0.1"
88
description = "Simplify project workflows by standardizing use of GNU Make."
99
readme = "README.md"
1010
requires-python = ">=3.10"

vmklib/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# =====================================
22
# generator=datazen
33
# version=3.1.4
4-
# hash=323a37ac953da26ff2b3ae5654e60ac6
4+
# hash=0b06924a9490f122f646f491d43e5fd6
55
# =====================================
66

77
"""
@@ -10,4 +10,4 @@
1010

1111
DESCRIPTION = "Simplify project workflows by standardizing use of GNU Make."
1212
PKG_NAME = "vmklib"
13-
VERSION = "2.0.0"
13+
VERSION = "2.0.1"

vmklib/tasks/python/lint.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class PythonLinter(SubprocessLogMixin):
2121
"""A task for running a Python linter."""
2222

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

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

5253
return await self.exec(
5354
str(inbox["venv"]["venv{python_version}"]["bin"].joinpath(linter)),
55+
*self.linter_args.get(linter, []),
5456
*args[2:],
5557
# Get extra arguments from the environment.
5658
*environ_fallback_split(

0 commit comments

Comments
 (0)