You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch development dependencies to Pipenv lockfile
- add Pipfile and Dependabot-compatible Pipfile.lock
- update lint, tox, CI, Travis, and Makefile workflows
- support Python 3.10 through 3.14
- remove the pip-tools requirements lockfile
- standardize linting, type checking, and tests
|[delegation_pattern](patterns/fundamental/delegation_pattern.py)| an object handles a request by delegating to a second object (the delegate) |
121
121
122
122
## Others
123
123
124
-
| Pattern | Description |
125
-
|:-------:|-----------|
126
-
|[blackboard](patterns/other/blackboard.py)| architectural model, assemble different sub-system knowledge to build a solution, AI approach - non gang of four pattern |
127
-
|[graph_search](patterns/other/graph_search.py)| graphing algorithms - non gang of four pattern |
128
-
|[hsm](patterns/other/hsm/hsm.py)| hierarchical state machine - non gang of four pattern |
|[blackboard](patterns/other/blackboard.py)| architectural model, assemble different sub-system knowledge to build a solution, AI approach - non gang of four pattern |
127
+
|[graph_search](patterns/other/graph_search.py)| graphing algorithms - non gang of four pattern |
128
+
|[hsm](patterns/other/hsm/hsm.py)| hierarchical state machine - non gang of four pattern|
129
129
130
130
## 🚫 Anti-Patterns
131
131
@@ -173,9 +173,12 @@ When everything else is done - update corresponding part of README.
173
173
174
174
##### Travis CI
175
175
Please run the following before submitting a patch:
176
-
-`black .` This lints your code.
177
-
- Either `tox` or `tox -e ci37` for unit tests.
178
-
- If you have a bash compatible shell, use `./lint.sh`.
176
+
- If you have a bash-compatible shell, use `./lint.sh` to run formatting,
177
+
linting, type checking, and tests.
178
+
179
+
Development dependencies are pinned in `Pipfile.lock`. After changing
180
+
`Pipfile`, activate a Python 3.10 virtual environment and run `make lock` to
181
+
regenerate it.
179
182
180
183
## Contributing via issue triage [](https://www.codetriage.com/faif/python-patterns)
181
184
You can triage issues and pull requests on [CodeTriage](https://www.codetriage.com/faif/python-patterns).
0 commit comments