Skip to content

Commit dc57e50

Browse files
committed
Updated.
1 parent 856417b commit dc57e50

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# simple-wait
22
Simple wait
33

4-
[![Run tests](https://github.com/gil9red/simple-wait/actions/workflows/run-tests.yml/badge.svg)](https://github.com/gil9red/simple-wait/actions/workflows/run-tests.yml)
5-
[![Upload Python Package](https://github.com/gil9red/simple-wait/actions/workflows/python-publish.yml/badge.svg)](https://github.com/gil9red/simple-wait/actions/workflows/python-publish.yml)
4+
[![tests](https://github.com/gil9red/simple-wait/actions/workflows/run-tests.yml/badge.svg)](https://github.com/gil9red/simple-wait/actions/workflows/run-tests.yml)
5+
[![upload to pypi](https://github.com/gil9red/simple-wait/actions/workflows/python-publish.yml/badge.svg)](https://github.com/gil9red/simple-wait/actions/workflows/python-publish.yml)
6+
[![pypi](https://img.shields.io/pypi/v/simple-wait.svg)](https://pypi.org/project/simple-wait/)
7+
![pypi python versions](https://img.shields.io/pypi/pyversions/simple-wait.svg)
8+
[![image](https://img.shields.io/badge/code%20style-black-000000.svg)](https://pypi.org/project/black/)
9+
[![License](https://img.shields.io/badge/license-MIT-black.svg)](https://opensource.org/licenses/MIT)
610

11+
Example:
712
```python
813
from datetime import datetime
914
from simple_wait import wait

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = [
77
description = "Simple wait"
88
readme = "README.md"
99
license = { file = "LICENSE.txt" }
10-
requires-python = ">=3.10"
10+
requires-python = ">=3.9"
1111
classifiers = [
1212
"Programming Language :: Python :: 3",
1313
"License :: OSI Approved :: MIT License",

src/simple_wait/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44
__author__ = "ipetrash"
5-
__version__ = "1.0.6"
5+
__version__ = "1.0.7"
66

77

88
import sys

tests/tests.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ def test_wait(self):
7676

7777
log.seek(0)
7878
lines = [
79-
line.strip()
80-
for line in log.readlines()
81-
if "Time left to wait" in line
79+
line.strip() for line in log.readlines() if "Time left to wait" in line
8280
]
8381
self.assertTrue(lines)
8482
self.assertTrue(len(lines) > 1)

0 commit comments

Comments
 (0)