|
1 | 1 | [project] |
2 | 2 | name = "nautilus_data" |
3 | | -version = "0.17.0" |
| 3 | +version = "0.18.0" |
4 | 4 | description = "Example data for use with NautilusTrader" |
5 | | -authors = [ |
6 | | - { name = "Nautech Systems", email = "[email protected]"}, |
7 | | -] |
| 5 | +authors = [{ name = "Nautech Systems", email = "[email protected]" }] |
8 | 6 | requires-python = ">=3.13" |
9 | | -dependencies = [ |
10 | | - "nautilus_trader>=1.220.0", |
11 | | - "requests>=2.32.5,<3.0.0", |
12 | | -] |
| 7 | +dependencies = ["nautilus_trader>=1.220.0", "requests>=2.32.5,<3.0.0"] |
13 | 8 |
|
14 | 9 | [dependency-groups] |
15 | 10 | dev = [ |
16 | | - "pre-commit>=4.0.0", |
17 | | - "pytest>=8.0.0", |
18 | | - "ruff>=0.12.12", |
19 | | - "mypy>=1.18.2", |
20 | | - "zizmor>=1.13.0", |
| 11 | + "pre-commit>=4.0.0", |
| 12 | + "pytest>=8.0.0", |
| 13 | + "ruff>=0.14.0", |
| 14 | + "mypy>=1.18.2", |
| 15 | + "zizmor>=1.14.2", |
21 | 16 | ] |
22 | 17 |
|
23 | 18 | [build-system] |
@@ -52,70 +47,70 @@ target-version = "py313" |
52 | 47 | line-length = 100 |
53 | 48 |
|
54 | 49 | exclude = [ |
55 | | - ".benchmarks", |
56 | | - ".eggs", |
57 | | - ".git", |
58 | | - ".mypy_cache", |
59 | | - ".pytest_cache", |
60 | | - ".ruff_cache", |
61 | | - ".venv", |
62 | | - "dist", |
63 | | - "venv", |
| 50 | + ".benchmarks", |
| 51 | + ".eggs", |
| 52 | + ".git", |
| 53 | + ".mypy_cache", |
| 54 | + ".pytest_cache", |
| 55 | + ".ruff_cache", |
| 56 | + ".venv", |
| 57 | + "dist", |
| 58 | + "venv", |
64 | 59 | ] |
65 | 60 |
|
66 | 61 | [tool.ruff.lint] |
67 | 62 | select = [ |
68 | | - "C4", |
69 | | - "E", |
70 | | - "F", |
71 | | - "W", |
72 | | - "C90", |
73 | | - "D", |
74 | | - # "DTZ", |
75 | | - "UP", |
76 | | - "S", |
77 | | - "T10", |
78 | | - "ICN", |
79 | | - "PIE", |
80 | | - # "PT", |
81 | | - "PYI", |
82 | | - "Q", |
83 | | - "I", |
84 | | - "RSE", |
85 | | - "TID", |
86 | | - # "SIM", |
87 | | - # "ARG", |
88 | | - # "ERA", |
89 | | - "PD", |
90 | | - # "PGH", |
91 | | - # "PLW", |
92 | | - "NPY", |
93 | | - "RUF", |
| 63 | + "C4", |
| 64 | + "E", |
| 65 | + "F", |
| 66 | + "W", |
| 67 | + "C90", |
| 68 | + "D", |
| 69 | + # "DTZ", |
| 70 | + "UP", |
| 71 | + "S", |
| 72 | + "T10", |
| 73 | + "ICN", |
| 74 | + "PIE", |
| 75 | + # "PT", |
| 76 | + "PYI", |
| 77 | + "Q", |
| 78 | + "I", |
| 79 | + "RSE", |
| 80 | + "TID", |
| 81 | + # "SIM", |
| 82 | + # "ARG", |
| 83 | + # "ERA", |
| 84 | + "PD", |
| 85 | + # "PGH", |
| 86 | + # "PLW", |
| 87 | + "NPY", |
| 88 | + "RUF", |
94 | 89 | ] |
95 | 90 |
|
96 | 91 | ignore = [ |
97 | | - "D100", # Missing docstring in public module **fix** |
98 | | - "D101", |
99 | | - "D102", # Missing docstring in public method **fix** |
100 | | - "D103", # Missing docstring in public function **fix** |
101 | | - "D104", # Missing docstring in public package **fix** |
102 | | - "D107", |
103 | | - "D105", |
104 | | - "D200", # One-line docstring should fit on one line with quotes (optional style) |
105 | | - "D203", # 1 blank line required before class docstring (optional style) |
106 | | - "D205", # 1 blank line required between summary line and description (optional style) |
107 | | - "D212", # Multi-line docstring summary should start at the first line (optional style) |
108 | | - "D400", # First line should end with a period (not always a first line) |
109 | | - "D413", # Missing blank line after last section ('Parameters') |
110 | | - "D415", # First line should end with a period, question mark, or exclamation point (not always a first line) |
111 | | - "D416", # Section name should end with a colon ('Warnings:', not 'Warnings') (incorrect?) |
112 | | - "E741", # Ambiguous variable name (single char) |
113 | | - "RUF012", # Mutable class attributes should be annotated with `typing.ClassVar` |
114 | | - "S101", # Use of assert detected (OK in test suite) |
115 | | - "S105", # Use of hard-coded password (spurious) |
116 | | - "S106", # Use of hard-coded password (spurious) |
117 | | - "S113", # Probable use of requests call without timeout **fix** |
118 | | - "S603", # `subprocess` call: check for execution of untrusted input **fix** |
| 92 | + "D100", # Missing docstring in public module **fix** |
| 93 | + "D101", |
| 94 | + "D102", # Missing docstring in public method **fix** |
| 95 | + "D103", # Missing docstring in public function **fix** |
| 96 | + "D104", # Missing docstring in public package **fix** |
| 97 | + "D107", |
| 98 | + "D105", |
| 99 | + "D200", # One-line docstring should fit on one line with quotes (optional style) |
| 100 | + "D203", # 1 blank line required before class docstring (optional style) |
| 101 | + "D205", # 1 blank line required between summary line and description (optional style) |
| 102 | + "D212", # Multi-line docstring summary should start at the first line (optional style) |
| 103 | + "D400", # First line should end with a period (not always a first line) |
| 104 | + "D413", # Missing blank line after last section ('Parameters') |
| 105 | + "D415", # First line should end with a period, question mark, or exclamation point (not always a first line) |
| 106 | + "D416", # Section name should end with a colon ('Warnings:', not 'Warnings') (incorrect?) |
| 107 | + "E741", # Ambiguous variable name (single char) |
| 108 | + "RUF012", # Mutable class attributes should be annotated with `typing.ClassVar` |
| 109 | + "S101", # Use of assert detected (OK in test suite) |
| 110 | + "S105", # Use of hard-coded password (spurious) |
| 111 | + "S106", # Use of hard-coded password (spurious) |
| 112 | + "S113", # Probable use of requests call without timeout **fix** |
| 113 | + "S603", # `subprocess` call: check for execution of untrusted input **fix** |
119 | 114 | ] |
120 | 115 |
|
121 | 116 | # Allow autofix for all enabled rules (when `--fix`) is provided |
|
0 commit comments