Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into pyvers
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Nov 30, 2023
2 parents 64b1027 + 82bb65b commit 99d0ba4
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.1
current_version = 1.1.2
commit = True
tag = True
tag_name = {new_version}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cli_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
QMK_HOME: ~/qmk_firmware

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install dependencies
run: apt-get update && apt-get install -y python3-venv
Expand All @@ -35,7 +35,7 @@ jobs:
python-version: [3.7, 3.8, 3.9, 3.10, 3.11, 3.12]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -53,7 +53,7 @@ jobs:
QMK_HOME: $HOME/qmk_firmware

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: (MSYS2) Setup and install dependencies
uses: msys2/setup-msys2@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docker-republish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
python-version: '3.7'

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -33,20 +33,20 @@ jobs:
pip download -d "${GITHUB_WORKSPACE}/dist" qmk=="${{ steps.previoustag.outputs.tag }}"
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to Docker Hub
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build and Push to Docker Hub
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v5.0.0
with:
context: .
push: true
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
python-version: '3.7'

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Run ci_tests
run: ./ci_tests
Expand Down Expand Up @@ -61,20 +61,20 @@ jobs:
twine upload dist/*
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to Docker Hub
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build and Push to Docker Hub
uses: docker/build-push-action@v4.0.0
uses: docker/build-push-action@v5.0.0
with:
context: .
push: true
Expand Down
2 changes: 1 addition & 1 deletion qmk_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""A program to help you work with qmk_firmware."""

__version__ = '1.1.1'
__version__ = '1.1.2'
5 changes: 3 additions & 2 deletions qmk_cli/subcommands/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
('239A', '000E'): 'caterina: Adafruit ItsyBitsy 32U4 5v',
('2A03', '0036'): 'caterina: Arduino Leonardo',
('2A03', '0037'): 'caterina: Arduino Micro',
('314B', '0106'): 'apm32-dfu: APM32 DFU ISP Mode'
('314B', '0106'): 'apm32-dfu: APM32 DFU ISP Mode',
('342D', 'DFA0'): 'wb32-dfu: WB32 Device in DFU Mode'
}


Expand Down Expand Up @@ -142,7 +143,7 @@ def run_forever(self):
message['identifier'] = ':'.join(identifier)
message['ts'] = '{style_dim}{fg_green}%s{style_reset_all} ' % (strftime(cli.config.general.datetime_fmt),) if cli.args.timestamp else ''

cli.echo('%(ts)s%(color)s%(identifier)s:%(index)d{style_reset_all}: %(text)s' % message)
cli.echo('%s', '%(ts)s%(color)s%(identifier)s:%(index)d{style_reset_all}: %(text)s' % message)

except self.hid.HIDException:
break
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ignore = E501,E226

[metadata]
name = qmk
version = 1.1.1
version = 1.1.2
author = skullydazed
author_email = skullydazed@gmail.com
description = A program to help users work with QMK Firmware.
Expand Down

0 comments on commit 99d0ba4

Please sign in to comment.