Skip to content

Commit

Permalink
Updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
gil9red committed May 23, 2023
1 parent 856417b commit dc57e50
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# simple-wait
Simple wait

[![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)
[![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)
[![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)
[![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)
[![pypi](https://img.shields.io/pypi/v/simple-wait.svg)](https://pypi.org/project/simple-wait/)
![pypi python versions](https://img.shields.io/pypi/pyversions/simple-wait.svg)
[![image](https://img.shields.io/badge/code%20style-black-000000.svg)](https://pypi.org/project/black/)
[![License](https://img.shields.io/badge/license-MIT-black.svg)](https://opensource.org/licenses/MIT)

Example:
```python
from datetime import datetime
from simple_wait import wait
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [
description = "Simple wait"
readme = "README.md"
license = { file = "LICENSE.txt" }
requires-python = ">=3.10"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down
2 changes: 1 addition & 1 deletion src/simple_wait/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

__author__ = "ipetrash"
__version__ = "1.0.6"
__version__ = "1.0.7"


import sys
Expand Down
4 changes: 1 addition & 3 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ def test_wait(self):

log.seek(0)
lines = [
line.strip()
for line in log.readlines()
if "Time left to wait" in line
line.strip() for line in log.readlines() if "Time left to wait" in line
]
self.assertTrue(lines)
self.assertTrue(len(lines) > 1)
Expand Down

0 comments on commit dc57e50

Please sign in to comment.