From 6e5470bf2729b8e8a3f231a2f9d98bd107ff97d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Sun, 13 Sep 2026 18:35:38 -0400 Subject: [PATCH 1/2] docs: fix CONTRIBUTING claims and add the missing CODE_OF_CONDUCT (FR-479/480/481) - Drop python-dotenv from the install line (the bots use their own loader). - CI targets Python 3.14, not 3.12. - Add CODE_OF_CONDUCT.md, which CONTRIBUTING already linked but did not exist. --- CODE_OF_CONDUCT.md | 18 ++++++++++++++++++ CONTRIBUTING.md | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..5335e2d --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,18 @@ +# Code of Conduct + +This project follows the [Contributor Covenant][cc] v2.1 as its Code of +Conduct. The short version: + +- Be respectful. Assume good faith. +- Focus on what's best for the project and its users. +- Disagree on ideas, not people. +- No harassment, discrimination, or personal attacks. + +Report issues to **avicennasis@gmail.com**. Reports will be handled privately; +retaliation against reporters is a code-of-conduct violation in itself. + +The full text of the Contributor Covenant is available at the link below and +applies in its entirety to contributions, issues, PRs, and discussions +across this organization's repositories. + +[cc]: https://www.contributor-covenant.org/version/2/1/code_of_conduct/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0050ff9..72833cf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ improvements are all welcome. git clone https://github.com/Avicennasis/AvicBotChat.git cd AvicBotChat python3 -m venv .venv && . .venv/bin/activate -pip install ruff pytest python-dotenv +pip install ruff pytest pre-commit install ``` @@ -24,7 +24,7 @@ pytest tests/ -v ``` CI runs the same `pytest tests/ -v` plus `ruff check .` and -`ruff format --check .` against Python 3.12. Make sure both are clean +`ruff format --check .` against Python 3.14. Make sure both are clean locally before opening a PR. ## Code style From 1fd8a8429ef44755b55499dae476a6338430bb32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Mon, 14 Sep 2026 22:14:48 -0400 Subject: [PATCH 2/2] docs: install the documented development hooks --- .github/workflows/test.yml | 2 +- CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31b3cd9..567d0db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,5 +44,5 @@ jobs: with: python-version: "3.14" - - run: pip install pytest python-dotenv + - run: pip install pytest - run: pytest tests/ -v diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 72833cf..2acfae5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ improvements are all welcome. git clone https://github.com/Avicennasis/AvicBotChat.git cd AvicBotChat python3 -m venv .venv && . .venv/bin/activate -pip install ruff pytest +pip install pre-commit pytest ruff==0.15.22 pre-commit install ```