Skip to content

Commit

Permalink
Merge pull request #149 from yozachar/workshop
Browse files Browse the repository at this point in the history
chore: monthly updates for Nov'23
  • Loading branch information
yozachar authored Nov 9, 2023
2 parents 2aab719 + e644272 commit 2dd14d3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ cython_debug/
# VSCode
.vscode/

# asdf
# asdf/rtx
.tool-versions
.rtx.toml

# ruff
.ruff_cache
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

![python_ver](https://img.shields.io/badge/Python-%3E%3D3.11-blue.svg)
![python_ver](https://img.shields.io/badge/Python-%3E%3D3.12-blue.svg)

> First off, thank you! Please follow along.
Expand Down Expand Up @@ -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
```
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 #
Expand All @@ -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"

Expand All @@ -72,7 +72,7 @@ select = [
"D",
]
line-length = 100
target-version = "py311"
target-version = "py312"
extend-exclude = ["**/__pycache__"]

[tool.ruff.isort]
Expand Down

0 comments on commit 2dd14d3

Please sign in to comment.