Skip to content

Commit

Permalink
Update ruff's JSON schema (#3993)
Browse files Browse the repository at this point in the history
This updates ruff's JSON schema to [499c0bd875c3f53c65f542a217b4d9a0962191c3](astral-sh/ruff@499c0bd)
  • Loading branch information
AlexWaygood authored Aug 16, 2024
1 parent 66a9d0c commit 9818fe1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/schemas/json/ruff.json
Original file line number Diff line number Diff line change
Expand Up @@ -910,11 +910,11 @@
"type": "object",
"properties": {
"fixture-parentheses": {
"description": "Boolean flag specifying whether `@pytest.fixture()` without parameters should have parentheses. If the option is set to `true` (the default), `@pytest.fixture()` is valid and `@pytest.fixture` is invalid. If set to `false`, `@pytest.fixture` is valid and `@pytest.fixture()` is invalid.",
"description": "Boolean flag specifying whether `@pytest.fixture()` without parameters should have parentheses. If the option is set to `false` (the default), `@pytest.fixture` is valid and `@pytest.fixture()` is invalid. If set to `true`, `@pytest.fixture()` is valid and `@pytest.fixture` is invalid.",
"type": ["boolean", "null"]
},
"mark-parentheses": {
"description": "Boolean flag specifying whether `@pytest.mark.foo()` without parameters should have parentheses. If the option is set to `true` (the default), `@pytest.mark.foo()` is valid and `@pytest.mark.foo` is invalid. If set to `false`, `@pytest.mark.foo` is valid and `@pytest.mark.foo()` is invalid.",
"description": "Boolean flag specifying whether `@pytest.mark.foo()` without parameters should have parentheses. If the option is set to `false` (the default), `@pytest.mark.foo` is valid and `@pytest.mark.foo()` is invalid. If set to `true`, `@pytest.mark.foo()` is valid and `@pytest.mark.foo` is invalid.",
"type": ["boolean", "null"]
},
"parametrize-names-type": {
Expand Down Expand Up @@ -2611,6 +2611,7 @@
"FAST00",
"FAST001",
"FAST002",
"FAST003",
"FBT",
"FBT0",
"FBT00",
Expand Down

0 comments on commit 9818fe1

Please sign in to comment.