Skip to content

Commit

Permalink
Lint JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed May 30, 2024
1 parent ad916c1 commit d86aef0
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 64 deletions.
68 changes: 34 additions & 34 deletions docs/development/contributing/ide.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For it to work well for the Polars code base, add the following settings to your

```json
{
"rust-analyzer.cargo.features": "all",
"rust-analyzer.cargo.features": "all"
}
```

Expand All @@ -32,7 +32,7 @@ This will make it use the correct Ruff version and configuration.

```json
{
"ruff.importStrategy": "fromEnvironment",
"ruff.importStrategy": "fromEnvironment"
}
```

Expand All @@ -57,38 +57,38 @@ See the [official VSCode documentation](https://code.visualstudio.com/docs/edito

```json
{
"configurations": [
{
"name": "Debug Rust/Python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/py-polars/debug/launch.py",
"args": [
"${file}"
],
"console": "internalConsole",
"justMyCode": true,
"serverReadyAction": {
"pattern": "pID = ([0-9]+)",
"action": "startDebugging",
"name": "Rust LLDB"
}
},
{
"name": "Rust LLDB",
"pid": "0",
"type": "lldb",
"request": "attach",
"program": "${workspaceFolder}/py-polars/.venv/bin/python",
"stopOnEntry": false,
"sourceLanguages": [
"rust"
],
"presentation": {
"hidden": true
}
}
]
"configurations": [
{
"name": "Debug Rust/Python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/py-polars/debug/launch.py",
"args": [
"${file}"
],
"console": "internalConsole",
"justMyCode": true,
"serverReadyAction": {
"pattern": "pID = ([0-9]+)",
"action": "startDebugging",
"name": "Rust LLDB"
}
},
{
"name": "Rust LLDB",
"pid": "0",
"type": "lldb",
"request": "attach",
"program": "${workspaceFolder}/py-polars/.venv/bin/python",
"stopOnEntry": false,
"sourceLanguages": [
"rust"
],
"presentation": {
"hidden": true
}
}
]
}
```

Expand Down
15 changes: 8 additions & 7 deletions docs/mlc-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"ignorePatterns": [
{
"pattern": "^https://crates.io/"
},{
"pattern": "^https://stackoverflow.com/"
}
]
"ignorePatterns": [
{
"pattern": "^https://crates.io/"
},
{
"pattern": "^https://stackoverflow.com/"
}
]
}
6 changes: 4 additions & 2 deletions dprint.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{
"includes": [
"**/*.{md,toml}"
"**/*.{md,toml,json}"
],
"excludes": [
".venv/",
"**/target/",
"py-polars/.hypothesis/",
"py-polars/.mypy_cache/",
"py-polars/.pytest_cache/",
"py-polars/.ruff_cache/"
"py-polars/.ruff_cache/",
"py-polars/tests/unit/io/files/"
],
"plugins": [
"https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/markdown-0.17.1.wasm",
"https://plugins.dprint.dev/toml-0.6.2.wasm"
]
Expand Down
42 changes: 21 additions & 21 deletions py-polars/docs/source/_static/version_switcher.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[
{
"name": "dev",
"version": "dev",
"url": "https://docs.pola.rs/docs/python/dev/"
},
{
"name": "0.20 (stable)",
"version": "0.20",
"url": "https://docs.pola.rs/py-polars/html/",
"preferred": true
},
{
"name": "0.19",
"version": "0.19",
"url": "https://docs.pola.rs/docs/python/version/0.19/"
},
{
"name": "0.18",
"version": "0.18",
"url": "https://docs.pola.rs/docs/python/version/0.18/"
}
{
"name": "dev",
"version": "dev",
"url": "https://docs.pola.rs/docs/python/dev/"
},
{
"name": "0.20 (stable)",
"version": "0.20",
"url": "https://docs.pola.rs/py-polars/html/",
"preferred": true
},
{
"name": "0.19",
"version": "0.19",
"url": "https://docs.pola.rs/docs/python/version/0.19/"
},
{
"name": "0.18",
"version": "0.18",
"url": "https://docs.pola.rs/docs/python/version/0.18/"
}
]

0 comments on commit d86aef0

Please sign in to comment.