Skip to content

Conversation

@Will-Hellinger
Copy link

Someone will need to double check this LOL

  • Migrate to ruff
  • Migrate to uv for docker image
  • Fix csh_ldap not working
  • Optimizations via small caches

Copy link
Collaborator

@mxmeinhold mxmeinhold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

took a look through, though I found it hard to read through all the formatting. Glancing through commits, seemed like there wasn't much in code changes, more in deps and CI?

Have a couple comments

@Will-Hellinger Will-Hellinger marked this pull request as draft September 23, 2025 19:28
@Will-Hellinger Will-Hellinger marked this pull request as ready for review October 27, 2025 21:37
Copy link
Member

@pikachu0542 pikachu0542 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, need to run it locally to test

Copy link
Member

@pikachu0542 pikachu0542 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to get it running locally, and it works. However, I cant seem to figure out how to test the mock user functionality, and with no open packets, I cant verify that the main functionality still works as expected.

- name: Lint with ruff and pylint
run: |
pylint packet/routes packet
ruff check packet && pylint packet/routes packet
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: typically each linter/formatter is run as a separate stage since its easier to tell which one failed

@@ -0,0 +1,33 @@
name: Format App
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a little overengineered to have an auto format workflow especially since there is a format check part of the linting workflow already. I think it'd be better to let people fix the formatting themselves instead of a github bot committing to their branch automatically.

"""
end_date = None

end_date: Union[datetime, None] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this (and all other cases like this) be an Optional[T]?

# CSH Web Packet

[![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/)
[![Python3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python39/)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed? The previous link was valid and this one is to a 404.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants