Skip to content

Commit

Permalink
Merge branch 'release/4.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Dec 18, 2023
2 parents a4071b7 + 4a945d5 commit 974e8a9
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 6 deletions.
35 changes: 35 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
formats:
- pdf
- epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion progressbar/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'''.strip().split(),
)
__email__ = 'wolph@wol.ph'
__version__ = '4.3.0'
__version__ = '4.3.1'
__license__ = 'BSD'
__copyright__ = 'Copyright 2015 Rick van Hattem (Wolph)'
__url__ = 'https://github.com/WoLpH/python-progressbar'
6 changes: 3 additions & 3 deletions progressbar/terminal/os_specific/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class _COORD(ctypes.Structure):


class _FOCUS_EVENT_RECORD(ctypes.Structure):
_fields_ = ('bSetFocus', _BOOL)
_fields_ = (('bSetFocus', _BOOL), )


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


class _MENU_EVENT_RECORD(ctypes.Structure):
_fields_ = ('dwCommandId', _UINT)
_fields_ = (('dwCommandId', _UINT), )


class _MOUSE_EVENT_RECORD(ctypes.Structure):
Expand All @@ -85,7 +85,7 @@ class _MOUSE_EVENT_RECORD(ctypes.Structure):


class _WINDOW_BUFFER_SIZE_RECORD(ctypes.Structure):
_fields_ = ('dwSize', _COORD)
_fields_ = (('dwSize', _COORD), )


class _INPUT_RECORD(ctypes.Structure):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ dependencies = ['python-utils >= 3.8.1']
version = { attr = 'progressbar.__about__.__version__' }

[tool.setuptools.packages.find]
exclude = ['docs', 'tests']
exclude = ['docs*', 'tests*']

[tool.setuptools]
include-package-data = true
Expand Down Expand Up @@ -187,4 +187,4 @@ include= ['progressbar']
exclude= ['examples']
ignore= ['docs']

reportIncompatibleMethodOverride = false
reportIncompatibleMethodOverride = false

0 comments on commit 974e8a9

Please sign in to comment.