-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workarounds for pytest-xdist and pytest-django, add CI linting, f…
…ix types, fix behavior (#32) * Add workarounds for pytest-xdist and pytest-django * type fixes * Update line length for ruff to 120 * Add ptyme track secret to git ignore * Add linting to CI * Fix monkey patch * Crudely fix off-by-one in jurigged logic * Start postgres server on dev container start * Add support for unregistering workarounds from libraries * Update documentation * Have client match status code
- Loading branch information
1 parent
7171adb
commit 530ba90
Showing
25 changed files
with
565 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
# run in the background at startup | ||
nohup bash .devcontainer/postStartBackground.sh > ".dev_container_logs/postStartBackground.out" & | ||
nohup "bash -c .devcontainer/postStartBackground.sh & > .dev_container_logs/postStartBackground.out" | ||
|
||
sleep 1 | ||
docker compose -f tests/workarounds/pytest_django/docker-compose.yml up -d postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,3 +132,6 @@ dmypy.json | |
*.pid | ||
|
||
.dev_container_logs/* | ||
|
||
# ptyme server secret | ||
.ptyme.secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Check", | ||
"type": "shell", | ||
"command": "poetry run dmypy check pytest_hot_reloading tests && poetry run ruff pytest_hot_reloading tests", | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.