Skip to content

Commit eee282a

Browse files
committed
Fix typos in error messages
- `s/can longer/can no longer/` - `s/due an issue/due to an issue/`
1 parent 83cba6f commit eee282a

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/errors.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ fn on_requested_python_version_error(error: RequestedPythonVersionError) {
235235
PackageManager::Uv => log_error(
236236
"The runtime.txt file isn't supported",
237237
formatdoc! {"
238-
The runtime.txt file can longer be used, since it has been
238+
The runtime.txt file can no longer be used, since it has been
239239
replaced by the more widely supported .python-version file.
240240
241241
Please switch to a .python-version file instead:
@@ -254,7 +254,7 @@ fn on_requested_python_version_error(error: RequestedPythonVersionError) {
254254
_ => log_error(
255255
"The runtime.txt file isn't supported",
256256
formatdoc! {"
257-
The runtime.txt file can longer be used, since it has been
257+
The runtime.txt file can no longer be used, since it has been
258258
replaced by the more widely supported .python-version file.
259259
260260
Please delete your runtime.txt file and create a new file named:
@@ -609,7 +609,7 @@ fn on_django_collectstatic_error(error: DjangoCollectstaticError) {
609609
The 'python manage.py collectstatic --noinput' Django management
610610
command to generate static files failed ({exit_status}).
611611
612-
This is most likely due an issue in your application code or Django
612+
This is most likely due to an issue in your application code or Django
613613
configuration. See the log output above for more information.
614614
615615
If you are using the WhiteNoise package to optimize the serving of static

tests/django_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ fn django_staticfiles_misconfigured() {
196196
The 'python manage.py collectstatic --noinput' Django management
197197
command to generate static files failed (exit status: 1).
198198
199-
This is most likely due an issue in your application code or Django
199+
This is most likely due to an issue in your application code or Django
200200
configuration. See the log output above for more information.
201201
202202
If you are using the WhiteNoise package to optimize the serving of static

tests/python_version_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ fn runtime_txt() {
399399
[Determining Python version]
400400
401401
[Error: The runtime.txt file isn't supported]
402-
The runtime.txt file can longer be used, since it has been
402+
The runtime.txt file can no longer be used, since it has been
403403
replaced by the more widely supported .python-version file.
404404
405405
Please delete your runtime.txt file and create a new file named:
@@ -440,7 +440,7 @@ fn runtime_txt_invalid_version() {
440440
[Determining Python version]
441441
442442
[Error: The runtime.txt file isn't supported]
443-
The runtime.txt file can longer be used, since it has been
443+
The runtime.txt file can no longer be used, since it has been
444444
replaced by the more widely supported .python-version file.
445445
446446
Please delete your runtime.txt file and create a new file named:

tests/uv_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ fn uv_runtime_txt() {
338338
[Determining Python version]
339339
340340
[Error: The runtime.txt file isn't supported]
341-
The runtime.txt file can longer be used, since it has been
341+
The runtime.txt file can no longer be used, since it has been
342342
replaced by the more widely supported .python-version file.
343343
344344
Please switch to a .python-version file instead:

0 commit comments

Comments
 (0)