Skip to content

Commit

Permalink
Tidy up CI, dev deps and prepare for v1.14.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 committed Aug 25, 2024
1 parent 1572393 commit edf565f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
python-arch: x86
- os: macOS-latest
python-arch: x86
- os: macOS-latest
python-version: 3.8
- os: macOS-latest
python-version: 3.9
- os: macOS-latest
python-version: '3.10'
- os: windows-2019
python-arch: x86
- os: windows-2019
Expand Down Expand Up @@ -150,5 +156,5 @@ jobs:
path: ./dist

- name: Publish
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.event.release.tag_name, 'v')
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.8.0
hooks:
- id: black

Expand Down
2 changes: 2 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"recommendations": [
"ms-python.black-formatter",
"ms-python.isort",
"ms-python.python",
"ms-python.vscode-pylance"
]
Expand Down
9 changes: 4 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
{
"black-formatter.importStrategy": "fromEnvironment",
"editor.formatOnSave": true,
"editor.rulers": [
80,
120
],
"files.trimTrailingWhitespace": true,
"editor.trimAutoWhitespace": true,
"python.formatting.provider": "black",
"isort.importStrategy": "fromEnvironment",
"python.testing.pytestArgs": [
"tests",
"-vv"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"[python]": {
"editor.defaultFoldingRangeProvider": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
},
"python.linting.ignorePatterns": [
"tests/**"
],
"python.envFile": "${workspaceFolder}/.vscode/.env",
}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 1.14.0 - TBD
## 1.14.0 - 2024-08-26

* Dropped support for Python 3.7
* `SMBDirEntryInformation.last_write_time` is now annotated as `datetime.datetime`. Previously, it was `datetime.date`. https://github.com/jborean93/smbprotocol/issues/279
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black == 24.3.0
black == 24.8.0
build
cryptography >= 2.0
isort == 5.13.2
Expand Down

0 comments on commit edf565f

Please sign in to comment.