-
-
Notifications
You must be signed in to change notification settings - Fork 23
v2.1.0 #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v2.1.0 #108
Changes from 18 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f915b3f
v2.0.2
Archmonger 0d05e6e
more strict type hint checking
Archmonger 8e2cefd
formatting
Archmonger e62a725
warn_unused_ignores = false
Archmonger 76ebaa0
minor docs changes
Archmonger a9ceb75
fix vtc type hints
Archmonger afa084e
better comments for vtc overloads
Archmonger da8b3f1
re-add django stubs
Archmonger 1763fbe
change version
Archmonger 68936c7
more type hint stuff
Archmonger fa460a1
fix some stragglers
Archmonger 9446341
cries in type hints
Archmonger 841fa3b
run mypy on tests
Archmonger 504f7c8
DRY view rendering
Archmonger 3209276
add examples of potential info exposure
Archmonger 2ad9607
clarify sync/async support
Archmonger 87a535a
fix spacing
Archmonger 7d687e5
fix running tests docs
Archmonger 6accbfa
consolidate session.run calls
rmorshea 16a6383
bump version release date
Archmonger 7c7c6e1
Merge branch 'channels-4.0.0' of https://github.com/Archmonger/django…
Archmonger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,15 +1,26 @@ | ||
This repo uses [Nox](https://nox.thea.codes/en/stable/) to run scripts which can be found in `noxfile.py`. For a full test of available scripts run `nox -l`. To run the full test suite simple execute: | ||
This repo uses [Nox](https://nox.thea.codes/en/stable/) to run tests. For a full test of available scripts run `nox -l`. | ||
|
||
If you plan to run tests, you'll need to install the following dependencies first: | ||
|
||
- [Python 3.8+](https://www.python.org/downloads/) | ||
- [Git](https://git-scm.com/downloads) | ||
|
||
Once done, you should clone this repository: | ||
|
||
```bash | ||
git clone https://github.com/idom-team/django-idom.git | ||
cd django-idom | ||
pip install -r ./requirements/test-run.txt --upgrade | ||
``` | ||
|
||
Then, by running the command below you can run the full test suite: | ||
|
||
``` | ||
nox -s test | ||
``` | ||
|
||
If you do not want to run the tests in the background: | ||
Or, if you want to run the tests in the foreground: | ||
|
||
``` | ||
nox -s test -- --headed | ||
``` | ||
|
||
!!! warning "Most tests will not run on Windows" | ||
|
||
Due to [bugs within Django Channels](https://github.com/django/channels/issues/1207), functional tests are not run on Windows. In order for Windows users to test Django-IDOM functionality, you will need to run tests via [Windows Subsystem for Linux](https://code.visualstudio.com/docs/remote/wsl). |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,4 +1,4 @@ | ||
channels >=3.0.0 | ||
channels >=4.0.0 | ||
idom >=0.40.2, <0.41.0 | ||
aiofile >=3.0 | ||
typing_extensions |
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.