Skip to content

Commit

Permalink
Fix several other problems due to updates
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWilhelm committed Mar 12, 2024
1 parent 359dd7a commit 7812a21
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Chg: Changed `pyproject.toml` according the new ruff configuration
- New: Activate social cards in mkdocs by default
- Chg: Updated hatch-pip-compile, ruff & mypy versions in `pyproject.toml`
- Fix: Some mkdocs deprecations, i.e. `materialx.emoji.twemoji`

## Version 0.3

Expand Down
1 change: 1 addition & 0 deletions test_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ hatch run test:cov
hatch run lint:all
hatch run docs:build

hatch run pre-commit run --all-files
6 changes: 2 additions & 4 deletions {{cookiecutter.project_slug}}/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,8 @@ markdown_extensions:
- pymdownx.critic:
- pymdownx.details:
- pymdownx.emoji:
# https://github.com/twitter/twemoji
# https://raw.githubusercontent.com/facelessuser/pymdown-extensions/master/pymdownx/twemoji_db.py
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
guess_lang: false
linenums_style: pymdownx-inline
Expand Down
8 changes: 4 additions & 4 deletions {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ target-version = "{{ 'py' ~ cookiecutter.target_python_version.replace('.', '')
line-length = 120
indent-width = 4
include = [
"src/**/*.py",
"src/**/*.pyi",
"tests/**/*.py",
"src/**/*.py",
"src/**/*.pyi",
"tests/**/*.py",
"tests/**/*.pyi"
]

Expand Down Expand Up @@ -312,7 +312,7 @@ typing = [
style = [
"echo \"VERSION: `ruff --version`\"",
"ruff check {args:.}",
"ruff format --diff {args:.}",
"ruff format --check {args:.}",
]
fix = [
"ruff format {args:.}",
Expand Down

0 comments on commit 7812a21

Please sign in to comment.