diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d7e1c39..1f87e9b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/iosevka-generate b/iosevka-generate index e994fa6..3d30964 100755 --- a/iosevka-generate +++ b/iosevka-generate @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# pylint: disable=C0103,C0111 - import configparser import shutil import subprocess @@ -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 }