b8105556eb
Add make format target and self-documenting make help
2026-03-30 00:00:59 -07:00
a08d49269d
Add GitHub Actions CI workflow with lint and multi-version test matrix
2026-03-30 00:00:37 -07:00
b116c04908
Add pyproject.toml for modern PEP 621 packaging metadata
2026-03-30 00:00:18 -07:00
b6a2daae9a
Add CLI entry point with argparse for command-line usage
2026-03-29 23:59:58 -07:00
0b1f72a3b4
Add pytest-cov for test coverage reporting with 80% threshold
2026-03-29 23:59:42 -07:00
20386dc47e
Add parametrized tests demonstrating pytest.mark.parametrize
2026-03-29 23:59:30 -07:00
6e08816b29
Add conftest.py with pytest fixtures for environment management
2026-03-29 23:59:15 -07:00
8337412053
Add fetch_user_info() to demonstrate mocking multiple API calls
...
Adds a second API wrapper function that fetches authenticated user
profile data, plus standalone and integration tests showing how to
mock an object with multiple attributes assembled into a dict.
2026-03-29 23:58:59 -07:00
aacb87e6fc
Add type hints to source and test utility modules
...
Adds return type annotations to all functions in gh.py and mode.py,
and typed decorator signatures using TypeVar in mode.py.
2026-03-29 23:58:09 -07:00
cf6378ad8b
Add custom exception class instead of bare Exception
...
Introduces MissingTokenError and a base AlanRickmanError class,
replacing the bare Exception raise. Extracts a shared _get_github_client()
helper. Adds a test verifying the custom exception is raised when the
token is missing.
2026-03-29 23:57:47 -07:00
2d8f830a7a
update readme
2022-09-17 15:20:49 -07:00
79759972fb
update readme, add screenshot of test output
2022-09-12 08:45:09 -07:00
e30b25cb55
add working integration/standalone modes. fix pyyaml requirement. lint.
2022-09-12 08:35:53 -07:00
62231bb874
clean up makefile
2022-09-11 17:08:53 -07:00
2fb0beaf80
add working mock tests
2022-09-11 17:04:59 -07:00
f165062655
let pre-commit handle flake8 and black dependencies, use canned hooks
2022-09-11 15:40:48 -07:00
42d91ee96f
try to fix flake8?
2022-09-11 15:37:35 -07:00
8760222e5a
add passing (real) tests, no standalone/integration split yet
2022-09-11 15:27:20 -07:00
198dd09a30
update gh.py
2022-09-11 13:33:34 -07:00
32d9aa4dac
bump pre-commit black version
2022-09-11 13:33:17 -07:00
cafc8cd896
update make lint
2022-09-11 13:31:43 -07:00
d14428d78b
add flake8 config file
2022-09-11 13:30:23 -07:00
779b7fa104
update pre-config with more (repo) rules
2022-09-11 13:19:25 -07:00
7c217d638b
fix pre-commit config
2022-09-11 13:10:31 -07:00
259c8c87bc
update readme
2022-09-11 12:47:20 -07:00
2a3a2f07d1
update preconfig
2022-09-11 12:47:10 -07:00
d84caf9443
update readme
2022-09-11 12:37:05 -07:00
df7c206ad3
add pre-commit config
2022-09-11 12:35:15 -07:00
3a08d94b74
update environment file
2022-09-11 12:32:41 -07:00
ab39f5dc9b
add init pkg
2022-09-11 12:32:33 -07:00
47620e9654
add makefile files
2022-09-11 12:32:26 -07:00
23acf85540
add badges and image to readme
2022-09-11 11:19:05 -07:00
fba05c0a1b
update
2022-09-11 11:13:18 -07:00
cd19b37129
add pygithub dependency
2022-09-11 11:01:20 -07:00
9679f11565
add gitignore, license, and requirements file
2022-09-11 10:54:21 -07:00
422070a22f
add example environment file
2022-09-11 10:53:04 -07:00
e6fcbabd60
outline plans
2022-09-11 10:45:39 -07:00