115 Commits

Author SHA1 Message Date
e7851b5fe7 Implement Gamma.grape() and update CHANGELOG with missing versions
grape() now combines kwargs into a sorted comma-separated string instead
of raising NotImplementedError. CHANGELOG updated with entries for
v0.6.0 through v0.6.6.
2026-03-30 00:03:35 -07:00
bf546b60f9 Add __repr__ and __str__ to Alpha, Beta, and Gamma
Provides readable string representations for debugging and logging,
e.g. Alpha(name='brad'), Beta(tracking_id='xyz'), Gamma(...).
2026-03-30 00:02:55 -07:00
fa2ff10a81 Add __main__.py to support python -m brad_pitt
Enables running the CLI via 'python -m brad_pitt' in addition to the
'bp' console_scripts entry point.
2026-03-30 00:02:20 -07:00
7b08a823e3 Expand CLI with subcommands: demo, fact, and add
Replaces the single-command CLI with a click.group() that provides
--version, a demo subcommand, a random fact subcommand, and an adder.
2026-03-30 00:02:08 -07:00
011bad0df7 Add unit tests for all modules (17 tests)
Covers Alpha (init, adder, affix), Beta (init, beeps, beers, billy),
Gamma (init, gleams, goopy, grape), and util (random_fact). All pass.
2026-03-30 00:01:45 -07:00
c8d7f040e9 Add type hints to all functions and methods
Adds return type annotations and parameter type hints across Alpha, Beta,
Gamma, and util modules. Also simplified Alpha.__init__ using kwargs.get().
2026-03-30 00:00:35 -07:00
6478645679 Replace Lorem Ipsum docstrings with meaningful documentation
All classes and methods now have docstrings that describe their actual
behavior instead of placeholder Latin text.
2026-03-30 00:00:12 -07:00
144c841e5e Fix bug in util.py: add missing PittFall import
random_fact() raises PittFall when the JSON file is missing, but the
exception class was never imported, which would cause a NameError.
2026-03-29 23:58:58 -07:00
9c7644bbd9 Fix bug in gamma.py: store Alpha and Beta as instance attributes
goopy() referenced self.alpha and self.beta, but __init__ was assigning
to local variables a and b, causing an AttributeError at runtime.
2026-03-29 23:58:45 -07:00
7e779f342a Fix bugs in alpha.py: return sum from adder(), add missing random import
adder() computed the sum but never returned it. affix() used random.random()
but the random module was never imported (os was imported but unused).
2026-03-29 23:58:37 -07:00
Chaz Reid
7733e429e0 Bump version: 0.6.5 → 0.6.6 2022-09-08 14:52:22 -07:00
Chaz Reid
283017a84f check for bump2version 2022-09-08 14:52:11 -07:00
Chaz Reid
0a51a457ce Bump version: 0.6.4 → 0.6.5 2022-09-08 14:50:49 -07:00
Chaz Reid
212ea55d1e add links to older versions and newer versions 2022-09-08 14:50:15 -07:00
bb5c48ed9a fix author 2022-09-08 08:56:42 -07:00
e5f32a1f63 fix typo 2022-09-08 08:42:30 -07:00
Chaz Reid
296cc84b4b remove docs for exception that cannot be built 2022-09-07 20:16:45 -07:00
Chaz Reid
c22571f8e1 Bump version: 0.6.3 → 0.6.4 2022-09-07 19:37:09 -07:00
Chaz Reid
afedf5e158 enhance api docs 2022-09-07 19:36:39 -07:00
Chaz Reid
590676f977 Bump version: 0.6.2 → 0.6.3 2022-09-07 16:15:07 -07:00
Chaz Reid
19032e2b02 fix up makefile 2022-09-07 16:14:53 -07:00
Chaz Reid
3ed3f10c48 Bump version: 0.6.1 → 0.6.2 2022-09-07 16:12:37 -07:00
Chaz Reid
57ec24bd46 update docs for 0.6 2022-09-07 16:12:24 -07:00
Chaz Reid
0611c1b888 Bump version: 0.6.0 → 0.6.1 2022-09-07 15:32:16 -07:00
Chaz Reid
c39be32bb4 update release docs 2022-09-07 15:27:05 -07:00
Chaz Reid
b24d524adf Merge pull request #7 from charlesreid1-toy-factory/release-prep-v0.6
Prepare for release v0.6
2022-09-07 15:17:31 -07:00
Chaz Reid
4423e06a85 Bump version: 0.5.6 → 0.6.0 2022-09-07 15:16:21 -07:00
Chaz Reid
5a272d2e72 Merge pull request #6 from charlesreid1-toy-factory/next-generation-technology
Add next generation technology
2022-09-07 15:15:32 -07:00
Chaz Reid
8bd6545c96 add gamma to imports in base package namespace 2022-09-07 15:14:39 -07:00
Chaz Reid
45789b7b8b add gamma class 2022-09-07 15:06:41 -07:00
Chaz Reid
36cec89cb5 Bump version: 0.5.5 → 0.5.6 2022-09-05 15:39:17 -07:00
Chaz Reid
ff8f4025df fix 2022-09-05 15:39:06 -07:00
Chaz Reid
8cb59c3008 Bump version: 0.5.4 → 0.5.5 2022-09-05 15:38:25 -07:00
Chaz Reid
5e20f98673 add -u to mike command 2022-09-05 15:38:10 -07:00
Chaz Reid
ba9e65d7fa Bump version: 0.5.3 → 0.5.4 2022-09-05 15:36:53 -07:00
Chaz Reid
851f8a73e9 yet another scripts update 2022-09-05 15:36:34 -07:00
Chaz Reid
bb0eef39be Bump version: 0.5.2 → 0.5.3 2022-09-05 15:35:06 -07:00
Chaz Reid
123fea423c more fine-tuning of release script 2022-09-05 15:34:37 -07:00
Chaz Reid
e936b38a5b Bump version: 0.5.1 → 0.5.2 2022-09-05 15:26:57 -07:00
Chaz Reid
5796ec7646 add debug print statements 2022-09-05 15:26:43 -07:00
Chaz Reid
4cd0f56e40 Bump version: 0.5.0 → 0.5.1 2022-09-05 15:13:12 -07:00
Chaz Reid
a996d64535 Merge pull request #5 from charlesreid1-toy-factory/release-prep-v0.5
Prepare for release v0.5
2022-09-05 15:09:52 -07:00
Chaz Reid
f02d53d70e Bump version: 0.4.0 → 0.5.0 2022-09-05 15:08:59 -07:00
Chaz Reid
bd59339973 update changelog for v0.5.0 2022-09-05 15:08:49 -07:00
Chaz Reid
08c14aea05 update release script with learnings from 0.4 release problems 2022-09-05 15:07:52 -07:00
Chaz Reid
458e40deb5 Merge pull request #4 from charlesreid1-toy-factory/release-prep-v0.4
Prepare for release v0.4
2022-09-05 15:04:41 -07:00
Chaz Reid
d85c0a5fab Bump version: 0.3.0 → 0.4.0 2022-09-05 15:04:04 -07:00
Chaz Reid
3584547473 update changelog for version 0.4.0 2022-09-05 15:03:59 -07:00
Chaz Reid
fc46fee000 add MIKE_TAG in release.sh to fix #3 2022-09-05 15:01:48 -07:00
Chaz Reid
578cc6f275 Merge pull request #2 from charlesreid1-toy-factory/release-prep-v0.3
Fix bugs from first v0.3 release attempt
2022-09-05 14:55:23 -07:00