Skip to content

Commit fadff01

Browse files
authored
Merge pull request #406 from devsetgo/dev
Logging Changes, Documentation Updates, Using Ruff
2 parents 2e4533c + 3b13312 commit fadff01

File tree

76 files changed

+2546
-2193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+2546
-2193
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[bumpversion]
2-
current_version = 0.12.1
2+
current_version = 0.12.2
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[a-z]+)(?P<num>\d+))?
6-
serialize =
6+
serialize =
77
{major}.{minor}.{patch}-{release}{num}
88
{major}.{minor}.{patch}
99

1010
[bumpversion:part:release]
1111
optional_value = alpha
12-
values =
12+
values =
1313
alpha
1414
beta
1515
pre-release

.devcontainer/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,3 @@ ENV PYTHONUNBUFFERED 1
1010
# [Optional] Uncomment this section to install additional OS packages.
1111
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1212
# && apt-get -y install --no-install-recommends <your-package-list-here>
13-
14-
15-

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
// Add the IDs of extensions you want installed when the container is created.
4141
"extensions": [
4242
// "usernamehw.errorlens",
43+
"charliermarsh.ruff",
4344
"streetsidesoftware.code-spell-checker",
4445
"GitHub.copilot",
4546
"GitHub.copilot-chat",

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ networks:
5858

5959
volumes:
6060
postgres-data:
61-
# oracle-data:
61+
# oracle-data:

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ version-resolver:
3030
- 'type: maintenance'
3131
- 'type: docs'
3232
- 'type: dependencies'
33-
- 'type: security'
33+
- 'type: security'

.github/workflows/autofill_pullrequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
github_token: ${{ secrets.GITHUB_TOKEN }}
2121
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
2222
max_tokens: 1000
23-
openai_model: gpt-4
23+
openai_model: gpt-4

.github/workflows/pythonpublish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ jobs:
2626
twine upload dist/*
2727
2828
# pypa/gh-action-pypi-publish@v1.8.11
29-

.github/workflows/release-drafter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
# config-name: my-config.yml
4040
# disable-autolabeler: true
4141
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,15 @@
11
repos:
2-
- repo: https://github.com/ambv/black
3-
rev: 23.12.0
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
44
hooks:
5-
- id: black
6-
language_version: python3.12
7-
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.4.0
9-
hooks:
10-
- id: fix-encoding-pragma
11-
- id: trailing-whitespace
12-
# - id: check-json
13-
# - id: pretty-format-json
14-
- id: requirements-txt-fixer
15-
- id: check-yaml
165
- id: check-toml
6+
- id: check-yaml
7+
- id: end-of-file-fixer
8+
- id: trailing-whitespace
179

18-
# - repo: git://github.com/doublify/pre-commit-isort
19-
# sha: master
20-
# hooks:
21-
# - id: isort
22-
23-
# - id: flake8
24-
# - repo: https://github.com/pre-commit/mirrors-isort
25-
# rev: 'v4.3.21' # Use the revision sha / tag you want to point at
26-
# hooks:
27-
# - id: isort
10+
- repo: https://github.com/astral-sh/ruff-pre-commit
11+
rev: v0.1.5
12+
hooks:
13+
- id: ruff
14+
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
15+
- id: ruff-format

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,4 +719,3 @@ Change to semantic versioning
719719

720720

721721
Published Date: 2020 January 26, 12:53
722-

0 commit comments

Comments
 (0)