Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 8, 2024
1 parent e5b4a12 commit 4a833bf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,12 @@ To use ``wx_icons_humanity`` in your application:

.. code-block:: python
# this package
from wx_icons_humanity import wxHumanityIconTheme
class MyApp(wx.App):
def OnInit(self):
wx.ArtProvider.Push(wxHumanityIconTheme())
self.frame = TestFrame(None, wx.ID_ANY)
Expand All @@ -141,7 +144,7 @@ And then the icons can be accessed through wx.ArtProvider:

.. code-block:: python
wx.ArtProvider.GetBitmap('document-new', wx.ART_OTHER, wx.Size(48, 48))
wx.ArtProvider.GetBitmap("document-new", wx.ART_OTHER, wx.Size(48, 48))
Any `FreeDesktop Icon Theme Specification <https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html>`_ name can be used.

Expand Down
5 changes: 4 additions & 1 deletion doc-source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ To use ``wx_icons_humanity`` in your application:

.. code-block:: python
# this package
from wx_icons_humanity import wxHumanityIconTheme
class MyApp(wx.App):
def OnInit(self):
wx.ArtProvider.Push(wxHumanityIconTheme())
self.frame = TestFrame(None, wx.ID_ANY)
Expand All @@ -20,7 +23,7 @@ And then the icons can be accessed through wx.ArtProvider:

.. code-block:: python
wx.ArtProvider.GetBitmap('document-new', wx.ART_OTHER, wx.Size(48, 48))
wx.ArtProvider.GetBitmap("document-new", wx.ART_OTHER, wx.Size(48, 48))
Any `FreeDesktop Icon Theme Specification <https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html>`_ name can be used.

Expand Down
21 changes: 10 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ classifiers = [
]
dynamic = [ "dependencies",]

[project.license]
file = "LICENSE"

[[project.authors]]
name = "Dominic Davis-Foster"
email = "dominic@davis-foster.co.uk"


[project.license]
file = "LICENSE"

[project.urls]
Homepage = "https://github.com/domdfcoding/custom_wx_icons_humanity"
"Issue Tracker" = "https://github.com/domdfcoding/custom_wx_icons_humanity/issues"
Expand Down Expand Up @@ -159,13 +158,6 @@ show_error_codes = true
[tool.snippet-fmt]
directives = [ "code-block",]

[tool.dependency-dash."requirements.txt"]
order = 10

[tool.dependency-dash."doc-source/requirements.txt"]
order = 30
include = false

[tool.snippet-fmt.languages.python]
reformat = true

Expand All @@ -175,3 +167,10 @@ reformat = true
[tool.snippet-fmt.languages.ini]

[tool.snippet-fmt.languages.json]

[tool.dependency-dash."requirements.txt"]
order = 10

[tool.dependency-dash."doc-source/requirements.txt"]
order = 30
include = false

0 comments on commit 4a833bf

Please sign in to comment.