Commit Graph

33 Commits

Author SHA1 Message Date
e3726f069c
bitmask.py: added AllFlags as an optional argument to __init__
This means we can set AllFlags directly at initialization.
2023-04-02 13:16:05 -04:00
8524113fcd
bitmask.py: Improve AllFlags docstrings 2022-08-08 19:18:23 -04:00
2bda7b4b1f
README.md: typo: EnumFlag -> IntFlag 2022-08-08 18:32:30 -04:00
e29dbcc00c
Bump version 2022-08-06 20:21:25 -04:00
43ce09b7f5
README.md: add installation instructions 2022-08-03 22:16:42 -04:00
94ba8ba272
bitmask.py: fix failed unit tests 2022-08-03 17:16:13 -04:00
4f68a5d677
bitmask.py: increase unit test coverage 2022-08-03 17:15:49 -04:00
b0c6b122b3
.flake8: added configuration 2022-08-03 16:08:53 -04:00
81055b0487
bitmask.py: formatting fixes 2022-08-03 15:23:28 -04:00
d4d81c14ca
bitmask.py: implement new format 2022-08-03 15:22:04 -04:00
96e02c2ca6
bitmask.py: fix more wrongly written tests 2022-08-03 15:21:26 -04:00
27e4b6f6fe
bitmask.py: fix unit tests 2022-08-03 14:58:25 -04:00
060d91473b
README, bitmask.py: rewrite examples to new format 2022-08-02 21:57:39 -04:00
6ccad93aa2
bitmask.py: rewrite unit tests to new format 2022-08-02 21:57:24 -04:00
a90d767595
bitmask.py: make operations more concise 2022-08-02 20:48:11 -04:00
c12660ba06
Initial style formatting 2022-08-02 18:11:51 -04:00
be91215cc4
pyproject.toml: add flake8, black as dependencies 2022-08-02 18:09:53 -04:00
eab920abeb
bitmask.py: increase test coverage, remove redundant code 2022-07-31 21:38:24 -04:00
0c333eee95
bitmask.py: rewrite exceptions to be more human readable 2022-07-31 21:15:02 -04:00
456bc7b618
bitmask.py: move utility functions to util.py 2022-07-31 20:51:15 -04:00
6d69ee3958
Convert unit tests to pytest 2022-07-31 20:33:06 -04:00
54bd28795b
Package bitmask using hatch 2022-07-31 19:35:09 -04:00
edc9c4d353
bitmask.py: implement bitwise AND, OR, and XOR 2022-07-30 15:28:22 -04:00
b38afa0af4
bitmask.py: implement hex conversion 2022-07-30 14:05:13 -04:00
aac04c5221
bitmask.py: improve unit test readability 2022-07-30 13:55:25 -04:00
2f1b285e83
bitmask.py: add subtraction operators 2022-07-29 21:44:30 -04:00
fe2bfd9356
bitmask.py: clarify logic on discard, remove 2022-07-27 22:07:15 -04:00
0e67984d99
bitmask.py: remove negative number unit test
Negative numbers are possible because signed integers could be used.
2022-07-27 21:59:51 -04:00
22b1d55298
bitmask.py: add unit tests 2022-07-27 17:54:54 -04:00
66bdab797d
Bitmask: add __eq__ method 2022-07-27 15:10:22 -04:00
8e0c2d1fe1
Add LICENSE 2022-07-26 20:20:24 -04:00
f62caadb0f
bitmask.py: add basic Bitmap class 2022-07-26 20:19:16 -04:00
b8770c2225
Initial commit 2022-07-26 20:19:05 -04:00