-
Notifications
You must be signed in to change notification settings - Fork 34
Ruff maps #1856
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
Ruff maps #1856
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
0426b9e
Initial linting and tests for phonebook
zarya baf256b
Finished ruffing the phonebook, added basic TestCase base class
zarya 3c7be59
Merge branch 'main' into ruff_phonebook
zarya 6410c0f
Run tests before you commit
zarya fd84e41
Use the right name
zarya 5f135ca
Update src/phonebook/models.py
tykling 840b252
Update src/phonebook/views.py
tykling 415dc4c
Merge branch 'main' into ruff_phonebook
tykling 20d9d2e
Move exceptions to there own file
zarya 97ae94d
Merge branch 'main' into ruff_phonebook
tykling 75af4a8
Merge branch 'main' into ruff_phonebook
tykling 649d572
ruffed maps
zarya c5923fa
More linting
zarya c8cf8db
Small change to tests
zarya 4f817ea
Small fixes
zarya ff241f8
Merge branch 'main' into ruff_maps
zarya a3ea0b8
Merge branch 'main' into ruff_maps
zarya 6bf3484
Add more tests to maps
zarya f6b1018
Lint some more
zarya 4f9e0e2
Merge branch 'main' into ruff_maps
zarya ec1b389
Remove unused variable
zarya e8bee4c
Merge branch 'main' into ruff_maps
tykling da9cfa7
Update src/maps/mixins.py
zarya 85ecb69
Update src/maps/mixins.py
zarya 8694a49
Update src/maps/admin.py
zarya 43479ed
Update src/maps/mixins.py
zarya 05c53d4
Remove unused
zarya e2cde8b
Update src/maps/mixins.py
tykling 56a51b5
Update src/maps/mixins.py
tykling 7d46bd9
Update src/maps/mixins.py
tykling 4b5f259
add quoting
tykling e2eb748
run pre-commit in GH actions
tykling f1b7dc5
ruff linting
tykling d3e9249
Merge branch 'main' into ruff_maps
tykling 582128c
Update src/maps/mixins.py
tykling 8c3d138
Update src/maps/models.py
tykling 688d8bd
Update src/maps/models.py
tykling 21028cb
Update src/maps/models.py
tykling 7e9b0ea
Be gone
zarya 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
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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| """Maps Application.""" |
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,7 +1,11 @@ | ||
| """Apps for the Maps app.""" | ||
|
|
||
| from __future__ import annotations | ||
|
|
||
| from django.apps import AppConfig | ||
|
|
||
|
|
||
| class MapsConfig(AppConfig): | ||
| """Maps config.""" | ||
|
|
||
| name = "maps" |
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
Oops, something went wrong.
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.