Skip to content

Commit

Permalink
Add in miscellaneus changes
Browse files Browse the repository at this point in the history
  • Loading branch information
clin1234 committed Jun 7, 2024
1 parent af551b4 commit f6202e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ repos:
types: [c++]


# Vendored
exclude: ^(com/win32comext/mapi/src/mapi_headers/|Pythonwin/Scintilla/).*$

# Vendored
exclude: ^(com/win32comext/mapi/src/mapi_headers/|Pythonwin/Scintilla/).*$

Expand Down
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Coming in build 307, as yet unreleased
* Fixed handling of `SyntaxError` exception from a Windows Scripting Host Python Script on Python 3.10+ (#2235, @nbbeatty)
* Add `CredGetSessionTypes` support (#2232, @CristiFati)
* Fixed `win32clipboard` increasing size of data when `SetClipboardData` used with `CF_DIB` (#2184, @CristiFati)
* Add `StoreLogoff` to `PyIMsgStore` to prevent possible hang when MAPI uninitializes or during session logoff (#2196, @avivbrg)
* Add `StoreLogoff` to `PyIMsgStore` to prevent possible hang when MAPI uninitializes or during session logoff (#2196, avivbrg)
* Enhance CredDelete to work with dictionaries (#2198, @CristiFati)
* Add UnregisterHotKey support (#2185, @CristiFati)
* IFolderView COM client support (#2180, #2181, #2182, @CristiFati)
Expand Down
6 changes: 1 addition & 5 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ target-version = "py37" # Target the oldest supported version

[lint]
select = [
"C4", # flake8-comprehensions
"F811", # redefined-while-unused
"I", # isort
"I", # isort
"PLC", # Pylint Convention
"PLE", # Pylint Error
"RSE", # flake8-raise
Expand Down Expand Up @@ -36,8 +34,6 @@ select = [
[lint.per-file-ignores]
# Explicit re-exports is fine in __init__.py, still a code smell elsewhere.
"__init__.py" = ["PLC0414"]
# TODO: Make adodbapi changes in their own PRs
"adodbapi/*" = ["C4", "YTT301", "UP031", "UP032", "ISC002"]

[lint.isort]
combine-as-imports = true
Expand Down
2 changes: 1 addition & 1 deletion win32/test/test_win32gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def enum_callback_sle(cls, handle, data):

@classmethod
def enum_callback_exc(cls, handle, data):
raise ValueError
raise ValueError()

@classmethod
def enum_callback(cls, handle, data):
Expand Down

0 comments on commit f6202e0

Please sign in to comment.