Skip to content

Commit 974e8a9

Browse files
committed
Merge branch 'release/4.3.1'
2 parents a4071b7 + 4a945d5 commit 974e8a9

File tree

4 files changed

+41
-6
lines changed

4 files changed

+41
-6
lines changed

.readthedocs.yaml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.12"
12+
# You can also specify other tool versions:
13+
# nodejs: "20"
14+
# rust: "1.70"
15+
# golang: "1.20"
16+
17+
# Build documentation in the "docs/" directory with Sphinx
18+
sphinx:
19+
configuration: docs/conf.py
20+
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
21+
# builder: "dirhtml"
22+
# Fail on all warnings to avoid broken references
23+
# fail_on_warning: true
24+
25+
# Optionally build your docs in additional formats such as PDF and ePub
26+
formats:
27+
- pdf
28+
- epub
29+
30+
# Optional but recommended, declare the Python requirements required
31+
# to build your documentation
32+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
33+
python:
34+
install:
35+
- requirements: docs/requirements.txt

progressbar/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'''.strip().split(),
2222
)
2323
__email__ = '[email protected]'
24-
__version__ = '4.3.0'
24+
__version__ = '4.3.1'
2525
__license__ = 'BSD'
2626
__copyright__ = 'Copyright 2015 Rick van Hattem (Wolph)'
2727
__url__ = 'https://github.com/WoLpH/python-progressbar'

progressbar/terminal/os_specific/windows.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class _COORD(ctypes.Structure):
5454

5555

5656
class _FOCUS_EVENT_RECORD(ctypes.Structure):
57-
_fields_ = ('bSetFocus', _BOOL)
57+
_fields_ = (('bSetFocus', _BOOL), )
5858

5959

6060
class _KEY_EVENT_RECORD(ctypes.Structure):
@@ -72,7 +72,7 @@ class _uchar(ctypes.Union):
7272

7373

7474
class _MENU_EVENT_RECORD(ctypes.Structure):
75-
_fields_ = ('dwCommandId', _UINT)
75+
_fields_ = (('dwCommandId', _UINT), )
7676

7777

7878
class _MOUSE_EVENT_RECORD(ctypes.Structure):
@@ -85,7 +85,7 @@ class _MOUSE_EVENT_RECORD(ctypes.Structure):
8585

8686

8787
class _WINDOW_BUFFER_SIZE_RECORD(ctypes.Structure):
88-
_fields_ = ('dwSize', _COORD)
88+
_fields_ = (('dwSize', _COORD), )
8989

9090

9191
class _INPUT_RECORD(ctypes.Structure):

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ dependencies = ['python-utils >= 3.8.1']
103103
version = { attr = 'progressbar.__about__.__version__' }
104104

105105
[tool.setuptools.packages.find]
106-
exclude = ['docs', 'tests']
106+
exclude = ['docs*', 'tests*']
107107

108108
[tool.setuptools]
109109
include-package-data = true
@@ -187,4 +187,4 @@ include= ['progressbar']
187187
exclude= ['examples']
188188
ignore= ['docs']
189189

190-
reportIncompatibleMethodOverride = false
190+
reportIncompatibleMethodOverride = false

0 commit comments

Comments
 (0)