Merge pull request #149 from yozachar/workshop
chore: monthly updates for Nov'23
This commit is contained in:
commit
2dd14d3fd8
3
.gitignore
vendored
3
.gitignore
vendored
@ -163,8 +163,9 @@ cython_debug/
|
||||
# VSCode
|
||||
.vscode/
|
||||
|
||||
# asdf
|
||||
# asdf/rtx
|
||||
.tool-versions
|
||||
.rtx.toml
|
||||
|
||||
# ruff
|
||||
.ruff_cache
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Contributing
|
||||
|
||||

|
||||

|
||||
|
||||
> First off, thank you! Please follow along.
|
||||
|
||||
@ -47,17 +47,18 @@ $ podman-compose -p waka-readme -f ./docker-compose.yml down
|
||||
|
||||
1. Inside the cloned folder run the following commands to install dependencies
|
||||
|
||||
```console
|
||||
```sh
|
||||
$ python -m venv .venv
|
||||
$ . ./.venv/bin/activate
|
||||
$ python -m pip install .
|
||||
# ... install decencies ...
|
||||
```
|
||||
|
||||
to activate virtual environment & install dependencies.
|
||||
|
||||
2. To test or execute the program in development, run:
|
||||
|
||||
```console
|
||||
```sh
|
||||
(.venv)$ python -m unittest discover # run tests
|
||||
(.venv)$ python -m main --dev # execute program in dev mode
|
||||
```
|
||||
|
@ -15,8 +15,8 @@ classifiers = [
|
||||
"Programming Language :: Python",
|
||||
"Typing :: Typed",
|
||||
]
|
||||
requires-python = ">=3.11"
|
||||
dependencies = ["faker>=19.11.0", "pygithub>=2.1.1", "requests>=2.31.0"]
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["faker>=19.13.0", "pygithub>=2.1.1", "requests>=2.31.0"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/athul/waka-readme"
|
||||
@ -36,7 +36,7 @@ extra = ["loguru>=0.7.2", "python-dotenv>=1.0.0"]
|
||||
#############################
|
||||
|
||||
[tool.pdm.dev-dependencies]
|
||||
tooling = ["bandit>=1.7.5", "black>=23.10.0", "ruff>=0.1.1", "pyright>=1.1.332"]
|
||||
tooling = ["bandit>=1.7.5", "black>=23.11.0", "ruff>=0.1.4", "pyright>=1.1.334"]
|
||||
|
||||
####################
|
||||
# Configurations #
|
||||
@ -47,11 +47,11 @@ exclude_dirs = [".github", "tests", ".venv", ".vscode"]
|
||||
|
||||
[tool.black]
|
||||
line-length = 100
|
||||
target-version = ["py311"]
|
||||
target-version = ["py312"]
|
||||
|
||||
[tool.pyright]
|
||||
exclude = ["**/__pycache__", ".venv/"]
|
||||
pythonVersion = "3.11"
|
||||
pythonVersion = "3.12"
|
||||
pythonPlatform = "All"
|
||||
typeCheckingMode = "strict"
|
||||
|
||||
@ -72,7 +72,7 @@ select = [
|
||||
"D",
|
||||
]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
target-version = "py312"
|
||||
extend-exclude = ["**/__pycache__"]
|
||||
|
||||
[tool.ruff.isort]
|
||||
|
Loading…
x
Reference in New Issue
Block a user