Skip to content

Commit 2f7db68

Browse files
committed
Prepare release.
1 parent a972218 commit 2f7db68

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to Toisto will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.32.0 - 2024-11-23
8+
9+
### Added
10+
11+
- Add more words and phrases. Partially implements [#911](https://github.com/fniessink/toisto/issues/911).
12+
713
## 0.31.0 - 2024-11-14
814

915
### Fixed

pyproject.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "Toisto"
7-
version = "0.31.0"
7+
version = "0.32.0"
88
authors = [{ name = "Frank Niessink", email = "frank@niessink.com" }]
99
description = "Toisto is a command-line terminal app to practice languages."
1010
readme = "README.md"
@@ -41,7 +41,7 @@ dev = [
4141
"gprof2dot == 2024.6.6",
4242
"green == 4.0.2",
4343
"mypy == 1.13.0",
44-
"ruff == 0.7.4",
44+
"ruff == 0.8.0",
4545
"types-requests == 2.32.0.20241016",
4646
"unittest-xml-reporting == 3.2.0",
4747
"vulture == 2.13",
@@ -95,8 +95,6 @@ line-length = 120
9595
[tool.ruff.lint]
9696
select = ["ALL"]
9797
ignore = [
98-
"ANN101", # Prevent 'Missing type annotation for `self` in method' errors
99-
"ANN102", # Prevent 'Missing type annotation for `cls` in classmethod' errors
10098
"C408", # Prevent 'Unnecessary `dict` call (rewrite as a literal)' errors
10199
"COM812", # This rule may cause conflicts when used with the ruff formatter
102100
"D107", # Prevent 'Missing docstring in `__init__`' errors
@@ -106,9 +104,9 @@ ignore = [
106104
"FBT003", # Prevent 'Boolean positional value in function call' errors
107105
"ISC001", # This rule may cause conflicts when used with the ruff formatter
108106
"PT", # We don't use Pytest
109-
"TCH001", # Prevent 'Move application import `...` into a type-checking block' errors
110-
"TCH002", # Prevent 'Move third-party import `...` into a type-checking block' errors
111-
"TCH003", # Prevent 'Move standard library import `...` into a type-checking block' errors
107+
"TC001", # Prevent 'Move application import `...` into a type-checking block' errors
108+
"TC002", # Prevent 'Move third-party import `...` into a type-checking block' errors
109+
"TC003", # Prevent 'Move standard library import `...` into a type-checking block' errors
112110
"TID252", # Prevent 'Relative imports from parent modules are banned' errors
113111
]
114112

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sonar.exclusions=build/**/*,dist/**/*,venv/**/*
22
sonar.organization=fniessink-github
33
sonar.projectName=Toisto
44
sonar.projectKey=fniessink-github_toisto
5-
sonar.projectVersion=0.31.0
5+
sonar.projectVersion=0.32.0
66
sonar.python.coverage.reportPaths=build/coverage.xml
77
sonar.python.version=3.10
88
sonar.python.xunit.reportPath=build/xunit.xml

src/toisto/model/language/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class Label:
2222
"""Class representing labels for concepts."""
2323

24-
__slots__ = ("__dict__", "language", "_value") # Without adding __dict__ to slots @cached_property does not work
24+
__slots__ = ("__dict__", "_value", "language") # Without adding __dict__ to slots @cached_property does not work
2525

2626
# Labels can have one question note and multiple answer notes. The question note is shown before a quiz is
2727
# presented to the user. The answer notes are shown afterwards. The format is:

0 commit comments

Comments
 (0)