-
Notifications
You must be signed in to change notification settings - Fork 27
Add Taggable class #51
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
Changes from all commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
5888a4f
add Taggable class
nchristensen 6b5766c
flake8 fixes
nchristensen 4a1965e
bump version
nchristensen 00b4f76
Update pytools/tag.py
nchristensen 418d4b8
Update pytools/tag.py
nchristensen f3d75d1
Update pytools/tag.py
nchristensen 2c6cc06
add taggable function
nchristensen 75c4fc0
add taggable function
nchristensen 34bca92
add typing
nchristensen 732b8f7
remove white space
nchristensen 67dfcef
flake8 fixes
nchristensen 7441bce
pylint fixes
nchristensen df00a22
add space
nchristensen a5f0ba5
pylint disable
nchristensen 15442d2
mypy fix
nchristensen bd41585
mypy
nchristensen 501f776
mypy
nchristensen 394b45c
more pylint
nchristensen 80e2c23
supress mypy
nchristensen ea1ec2e
use pipe syntax
nchristensen b1d9747
check uniqueness
nchristensen 06cb808
flake8 fixes
nchristensen 25befba
add without_tag method
nchristensen 63496b7
flake8 fixes
nchristensen 6a5169d
remove print statement
nchristensen baaf635
Remove comment
nchristensen 3f65ca8
Update pytools/tag.py
nchristensen b3ba65a
Taggable changes
nchristensen 745c7b7
Taggable fixes
nchristensen 606947b
whitespaces
nchristensen 618957f
use to_remove
nchristensen f25174e
use covariant self types on copy functions
nchristensen 8f07ecd
flake8
nchristensen cab78f2
flake8
nchristensen 22fce9f
bump down version number for now
nchristensen e392c02
bump up version number again
nchristensen 576a222
handle None type
nchristensen d5ad701
flake8
nchristensen 1a5ae24
allow None type
nchristensen aeb581f
allow kwargs on copy
nchristensen 8697aab
add methods to docs
nchristensen daa573b
update copyright
nchristensen 94c714e
just use kwargs
nchristensen 68da5a1
_tags -> tag
nchristensen f2a28e1
remove commented part
nchristensen fa99492
blank line for sphinx
nchristensen 1511358
input normalization function
nchristensen a7130c5
add comment and provide more useful error message
nchristensen 4bb243c
remove print line
nchristensen 497b52f
add test for Tag and Tagged
nchristensen eb9a448
Update pytools/version.py
nchristensen 0e8fcbf
Merge branch 'master' into master
nchristensen f8f5e8e
fix typo
nchristensen 3906209
ö
nchristensen b6ee450
bump versionadded
nchristensen b33a61a
Update pytools/tag.py
nchristensen 07b25ce
Update pytools/tag.py
nchristensen 8586773
replace input normalization with assertions in constructor
nchristensen 0ff1382
replace O(n^2) algorithm
nchristensen 1f94b14
lowercase variable names
nchristensen 3ce7e4e
more lowercase variables
nchristensen 7d48bf9
Propose tag uniqueness check algorithm
inducer 883e4c0
Merge pull request #1 from inducer/unique-tag-check
nchristensen d88292e
update tag set
nchristensen 84976b2
document meaning of UniqueTag
nchristensen 9de36cb
Add test for multiple UniqueTag instances of different subclasses
nchristensen ac75212
Unique tag wording
nchristensen 7439758
improve variable names
nchristensen c0c6a57
add test for multiple non-unique tags of the same type
nchristensen ccbae99
subclass ValueError
nchristensen cf67f1a
simplify tests
nchristensen 453ee22
change test to ribbon example
nchristensen 401d895
extra line
nchristensen c04202d
Rename _normalize_input -> _normalize_tags
inducer 0f28d1d
Bump version
inducer daaaf9e
Bump version for Taggable to 2021.1
inducer 82da2e0
Add missing role markup in UniqueTag docstring
inducer 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,3 +1,3 @@ | ||
| VERSION = (2020, 4, 4) | ||
| VERSION = (2021, 1) | ||
| VERSION_STATUS = "" | ||
| VERSION_TEXT = ".".join(str(x) for x in VERSION) + VERSION_STATUS |
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
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.