Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
8f32ec8
Updated gitignore
bubthegreat Sep 3, 2020
8d5a8a6
Removing source C stuff
bubthegreat Sep 3, 2020
16aca38
Fixes for gitignore and nanny
bubthegreat Sep 3, 2020
3ee29b4
Revert "Removing source C stuff"
bubthegreat Sep 3, 2020
755291e
Restructuring and updated logging call
bubthegreat Dec 1, 2021
e0aa899
Moving into better directory structure
bubthegreat Dec 1, 2021
7817913
Updated so you can run it from src/rom24/pyom.py instead now that upd…
bubthegreat Dec 1, 2021
57dbbd7
Functional libary with pip install
bubthegreat Dec 1, 2021
7b4c8f9
Updated readme to have new installation/run instructions
bubthegreat Dec 1, 2021
d8d05be
Working owhere function, and mostly functional stuff
bubthegreat Dec 2, 2021
e868138
Rmoving old C code
bubthegreat Dec 2, 2021
d25371e
default to show exits and fixed bug with item location on equip
bubthegreat Dec 2, 2021
63635b0
Improving owhere to have vnums too
bubthegreat Dec 2, 2021
d5becc0
Removing old setup file
bubthegreat Dec 2, 2021
a660025
Remove egg info and update gitignore
bubthegreat Dec 2, 2021
613ce9e
Trying some more things.
bubthegreat Dec 2, 2021
a24bd4e
Update README.md
bubthegreat Dec 2, 2021
0d22f14
Update README.md
bubthegreat Dec 2, 2021
ac254f5
Added scan command
bubthegreat Dec 2, 2021
7611869
Adding black formatting
bubthegreat Dec 2, 2021
c89e710
Adding black for autoformatting and formatted
bubthegreat Dec 2, 2021
227fa05
Implementing mypy typing improvements and bug fixes from that.
bubthegreat Dec 2, 2021
901635f
mypy passing and blacked
bubthegreat Dec 2, 2021
496b7d3
Update README.md
bubthegreat Dec 2, 2021
69f0e62
Added our first pytest test!
bubthegreat Dec 2, 2021
bc42a58
Adding pre-commit and some basic hooks
bubthegreat Dec 2, 2021
0536614
More pre-commit hooks
bubthegreat Dec 2, 2021
6d92d7e
Yay whitespace fixes!
bubthegreat Dec 2, 2021
55c9e50
create basic pytest workflow
bubthegreat Dec 2, 2021
86d43f4
Updates workflow name and fixes pytest requirements
bubthegreat Dec 2, 2021
5856305
Update README.md
bubthegreat Dec 2, 2021
6e7959d
Adding mypy workflow and badge
bubthegreat Dec 2, 2021
1d495f9
Create python-publish.yml
bubthegreat Dec 2, 2021
dff5685
Add publish badge to readme
bubthegreat Dec 2, 2021
6de60f3
Incrementing version
bubthegreat Dec 2, 2021
66663bd
Adding manifest
bubthegreat Dec 2, 2021
3788caf
incrementing version
bubthegreat Dec 2, 2021
78573ea
Updating manifest
bubthegreat Dec 2, 2021
65fb069
Updating version
bubthegreat Dec 2, 2021
decb4bc
Fixed data missing json and added default char
bubthegreat Dec 26, 2021
2a75bd3
Add all deployment stuff
bubthegreat Feb 4, 2026
1d42c10
Update for later python compatibility
bubthegreat Feb 4, 2026
846ecb8
Fixing persistence
bubthegreat Feb 4, 2026
ae3f858
Updates for k8s deployment
bubthegreat Feb 4, 2026
d85b186
Mkae the ingress config managed by argo
bubthegreat Feb 4, 2026
7a1f800
Update TCP ingress documentation with correct Service name and one-ti…
bubthegreat Feb 4, 2026
4272c10
Updating workflows to test more recent python
bubthegreat Feb 4, 2026
ee810c9
Updating pytest for newer python versions
bubthegreat Feb 4, 2026
4e6d3db
Migrate to UV package manager
bubthegreat Feb 4, 2026
f616003
Switch from mypy to ty and update .gitignore
bubthegreat Feb 4, 2026
040da9f
Log boot statistics separately for better timestamp visibility
bubthegreat Feb 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
*.so
*.egg
*.egg-info/
dist/
build/
.pytest_cache/
.mypy_cache/
.coverage
htmlcov/
.tox/
.venv/
venv/
ENV/
env/
.git/
.gitignore
.github/
*.md
!README.md
tests/
.pre-commit-config.yaml
k8s/
argocd/
Makefile

34 changes: 34 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: ty

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
typecheck:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.12", "3.13"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install UV
uses: astral-sh/setup-uv@v4
with:
enable-cache: true

- name: Install dependencies
run: uv sync --all-extras

- name: Run ty
run: uv run ty check src
34 changes: 34 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Pytest

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.12", "3.13"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install UV
uses: astral-sh/setup-uv@v4
with:
enable-cache: true

- name: Install dependencies
run: uv sync --all-extras

- name: Run tests
run: uv run pytest tests
33 changes: 33 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will upload a Python Package using UV when a release is created
# UV is a modern, fast Python package manager from Astral (creators of Ruff)

name: Upload Python Package

on:
release:
types: [published]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install UV
uses: astral-sh/setup-uv@v4
with:
enable-cache: true

- name: Build package
run: uv build

- name: Publish package
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: uv publish
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,22 @@ __pycache__/
*.pyproj
*.sln
*.suo
.idea/
.idea/
venv/
data/players/
data/world/instances/
instance_tracker.txt
*.egg-info/

# Build artifacts
build/
dist/
*.egg
.eggs/

# UV
.venv/
uv.lock

# Python version
.python-version
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: requirements-txt-fixer
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910-1
hooks:
- id: mypy
additional_dependencies: [types-all]
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
Loading