Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnodgrass committed Nov 25, 2024
1 parent 2d734c7 commit 59b5683
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
if [ which runonce &> /dev/null ]; then
DIR=`basename $(pwd)`

# install any missing requirements
if [ -d .venv ]; then
if [ -f requirements.txt ]; then
runonce -b -n $DIR uv pip install -r requirements.txt
fi

if [ -f requirements-dev.txt ]; then
runonce -b -n $DIR uv pip install -r requirements-dev.txt
fi
fi

# auto-update pre-commit versions (if > 1 week)
runonce -b -n $DIR -d 7 pre-commit autoupdate
fi
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fail_fast: true

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -32,11 +32,11 @@ repos:
args: [--settings-path=pyproject.toml] # ["--profile", "black" ]

- repo: https://github.com/dosisod/refurb
rev: v1.27.0
rev: v2.0.0
hooks:
- id: refurb

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.19.0
hooks:
- id: pyupgrade
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ Pinouts as documented in the Xantech MX88 manual:
| 5 | GND | 5 | Yellow | GND | Ground |
| 6 | DTR | 6 | Red | DSR | |

This may be the Xantech Null Modem Cable PN 05913560.


## See Also

* [Protocol Definitions - Xantech / Monoprice / Sonance (reusable in other projects)](pyxantech/protocols)
Expand Down

0 comments on commit 59b5683

Please sign in to comment.