Skip to content

Commit 964c77e

Browse files
authored
Merge pull request #223 from Point72/tkp/lint
Pin linters to avoid noise, run auto fixers after latest changes and pinning
2 parents 895563c + 00c2a06 commit 964c77e

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

conda/dev-environment-unix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies:
88
- build
99
- bump2version>=1
1010
- cmake
11-
- codespell
11+
- codespell>=2.2.6,<2.3
1212
- compilers
1313
- cyrus-sasl
1414
- exprtk
@@ -23,7 +23,7 @@ dependencies:
2323
- libboost-headers
2424
- lz4-c
2525
- mamba
26-
- mdformat
26+
- mdformat>=0.7.17,<0.8
2727
- ninja
2828
- numpy
2929
- pillow
@@ -43,7 +43,7 @@ dependencies:
4343
- rapidjson
4444
- requests
4545
- ruamel.yaml
46-
- ruff
46+
- ruff>=0.3,<0.4
4747
- scikit-build
4848
- slack-sdk
4949
- sqlalchemy

docs/wiki/concepts/Execution-Modes.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ As always, `csp.now()` should still be used in `csp.node` code, even when runnin
4141

4242
When consuming data from input adapters there are three choices on how one can consume the data:
4343

44-
| PushMode | EngineMode | Description |
45-
| :------- | :--------- | :---------- |
46-
| **LAST_VALUE** | Simulation | all ticks from input source with duplicate timestamps (on the same timeseries) will tick once with the last value on a given timestamp |
47-
| | Realtime | all ticks that occurred since previous engine cycle will collapse / conflate to the latest value |
44+
| PushMode | EngineMode | Description |
45+
| :----------------- | :--------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
46+
| **LAST_VALUE** | Simulation | all ticks from input source with duplicate timestamps (on the same timeseries) will tick once with the last value on a given timestamp |
47+
| | Realtime | all ticks that occurred since previous engine cycle will collapse / conflate to the latest value |
4848
| **NON_COLLAPSING** | Simulation | all ticks from input source with duplicate timestamps (on the same timeseries) will tick once per engine cycle. subsequent cycles will execute with the same time |
49-
| | Realtime | all ticks that occurred since previous engine cycle will be ticked across subsequent engine cycles as fast as possible |
50-
| **BURST** | Simulation | all ticks from input source with duplicate timestamps (on the same timeseries) will tick once with a list of all values |
51-
| | Realtime | all ticks that occurred since previous engine cycle will tick once with a list of all the values |
49+
| | Realtime | all ticks that occurred since previous engine cycle will be ticked across subsequent engine cycles as fast as possible |
50+
| **BURST** | Simulation | all ticks from input source with duplicate timestamps (on the same timeseries) will tick once with a list of all values |
51+
| | Realtime | all ticks that occurred since previous engine cycle will tick once with a list of all the values |
5252

5353
## Realtime Group Event Synchronization
5454

docs/wiki/dev-guides/Build-CSP-from-Source.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ By default, we pull and build dependencies with [vcpkg](https://vcpkg.io/en/). W
198198

199199
CSP has listing and auto formatting.
200200

201-
| Language | Linter | Autoformatter | Description |
202-
| :------- | :----- | :------------ | :---------- |
203-
| C++ | `clang-format` | `clang-format` | Style |
204-
| Python | `ruff` | `ruff` | Style |
205-
| Python | `isort` | `isort` | Imports |
201+
| Language | Linter | Autoformatter | Description |
202+
| :------- | :------------- | :------------- | :---------- |
203+
| C++ | `clang-format` | `clang-format` | Style |
204+
| Python | `ruff` | `ruff` | Style |
205+
| Python | `isort` | `isort` | Imports |
206206

207207
**C++ Linting**
208208

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ develop = [
6060
"twine",
6161
"wheel",
6262
# lint
63-
"codespell",
63+
"codespell>=2.2.6,<2.3",
6464
"isort>=5,<6",
65-
"mdformat",
65+
"mdformat>=0.7.17,<0.8",
6666
"ruff>=0.3,<0.4",
6767
# test
6868
"pytest",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
)
6565

6666
if VCPKG_TRIPLET is not None:
67-
cmake_args.append( f"-DVCPKG_TARGET_TRIPLET={VCPKG_TRIPLET}" )
67+
cmake_args.append(f"-DVCPKG_TARGET_TRIPLET={VCPKG_TRIPLET}")
6868
else:
6969
cmake_args.append("-DCSP_USE_VCPKG=OFF")
7070

0 commit comments

Comments
 (0)