mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-06 19:38:30 +02:00
Document code snippet checker quirk on MacOS (#2566)
This commit is contained in:
@@ -201,8 +201,16 @@ Each supported language has:
|
||||
|
||||
## Quirks
|
||||
|
||||
Sometimes `mypy` (python typechecker) complains at valid code.
|
||||
Place this comment at the top of the file to silence it:
|
||||
```python
|
||||
# mypy: disable-error-code="arg-type"
|
||||
```
|
||||
- Sometimes `mypy` (python typechecker) complains at valid code.
|
||||
Place this comment at the top of the file to silence it:
|
||||
```python
|
||||
# mypy: disable-error-code="arg-type"
|
||||
```
|
||||
- On MacOS, if you see Java compile errors like this:
|
||||
```
|
||||
> java.io.IOException: Cannot run program "/workspace/automation/snippets/cache/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.25.5/601137f5367caaf202a28e3844dd6dbbc77b19af/protoc-3.25.5-linux-x86_64.exe": Exec failed, error: 13 (Permission denied)
|
||||
```
|
||||
Explicitly set the executable bit on the reported file, for example (from `automation/snippets`):
|
||||
```bash
|
||||
chmod a+x ./cache/.gradle/caches/modules-2/files-2.1/com.google.protobuf/protoc/3.25.5/601137f5367caaf202a28e3844dd6dbbc77b19af/protoc-3.25.5-linux-x86_64.exe
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user