Skip to content

Commit 9c38afc

Browse files
committed
infrastructure and dependency updates
1 parent 28660d6 commit 9c38afc

3 files changed

Lines changed: 31 additions & 7 deletions

File tree

.github/workflows/pull_request_automation.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
- name: Set up Python
4646
run: uv python install 3.11
4747

48+
- name: Install system dependencies
49+
run: |
50+
sudo apt-get update
51+
sudo apt-get install -y libfuzzy-dev libldap2-dev libsasl2-dev
52+
4853
- name: Install Dependencies
4954
run: uv sync --only-group dev
5055

pyproject.toml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "6.5.1"
44
requires-python = ">=3.11"
55
dependencies = [
66
# django libs
7-
"Django==4.2.27",
7+
"Django==4.2.29",
88
"psycopg2-binary==2.9.6",
99
"django-auth-ldap==5.1.0",
1010
"django-radius==1.5.0",
@@ -154,8 +154,27 @@ line-length = 110
154154
target-version = "py311"
155155

156156
[tool.ruff.lint]
157-
select = ["E", "F", "I", "DJ"]
158-
ignore = ["DJ012", "DJ001", "DJ008"]
157+
select = [
158+
"E", # pycodestyle errors
159+
"W", # pycodestyle warnings
160+
"F", # pyflakes
161+
"I", # isort
162+
"UP", # pyupgrade
163+
"C4", # flake8-comprehensions
164+
"DJ", # flake8-django
165+
]
166+
ignore = [
167+
"E231", # missing whitespace after ','
168+
"E501", # line too long - handled by formatter, remaining are strings/comments
169+
"W605", # invalid escape sequence
170+
"UP", # pyupgrade
171+
"C4", # flake8-comprehensions
172+
"UP006", # Use `list` instead of `List` for type annotation
173+
"UP035", # deprecated imports from typing module
174+
"DJ012",
175+
"DJ001",
176+
"DJ008",
177+
]
159178

160179
[tool.ruff.lint.isort]
161180
known-first-party = ["certego_saas"]

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)