Skip to content

Commit

Permalink
Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
OJFord committed Feb 11, 2024
1 parent dd305c6 commit 502ab18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.1.1
hooks:
- id: black

- repo: https://github.com/timothycrosley/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies:
Expand Down
10 changes: 5 additions & 5 deletions iosevka-generate
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env python3
# pylint: disable=C0103,C0111

import configparser
import shutil
import subprocess
Expand Down Expand Up @@ -151,9 +149,11 @@ def parse_config_ini(
config.read(config_file)

font_styles = {
section: {f'{char} = "{style}"' for char, style in config[section].items()}
if section != "options"
else set()
section: (
{f'{char} = "{style}"' for char, style in config[section].items()}
if section != "options"
else set()
)
for section in sections
}

Expand Down

0 comments on commit 502ab18

Please sign in to comment.