Skip to content

Comments

Setup mypy.#37

Merged
frafra merged 1 commit intomainfrom
29-type-checker-for-python
Jun 13, 2025
Merged

Setup mypy.#37
frafra merged 1 commit intomainfrom
29-type-checker-for-python

Conversation

@emilte
Copy link
Contributor

@emilte emilte commented Jun 10, 2025

No description provided.

@emilte emilte self-assigned this Jun 10, 2025
@emilte emilte linked an issue Jun 10, 2025 that may be closed by this pull request
@emilte emilte force-pushed the 29-type-checker-for-python branch 5 times, most recently from a45fee7 to a4974fc Compare June 10, 2025 14:48
@frafra frafra self-requested a review June 10, 2025 18:20
@emilte emilte force-pushed the 29-type-checker-for-python branch 3 times, most recently from 09d6fba to 2ce9390 Compare June 10, 2025 22:21
@emilte emilte requested a review from nicokant June 12, 2025 15:19
@frafra
Copy link
Collaborator

frafra commented Jun 12, 2025

I guess we can use mypy until https://github.com/astral-sh/ty is ready for production use.

Comment on lines 49 to 73


user_redirect_view = UserRedirectView.as_view()


class UsersList(UIListView):
model = User
table_class = UserTable
filterset_class = UserFilterSet
active_dropdown = "users"
active_route = "users_list"


class UserUpdate(UIUpdateView):
model = User
fields = [
"first_name",
"last_name",
]
active_dropdown = "users"


class UserDetail(UIDetailView):
model = User
active_dropdown = "users"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you please elaborate on that? If this bit and tables.py are not needed anymore, a different commit should be made.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree. I'll open another PR to suggest removal of unused code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've restored the content now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It also looks like I was mistaken. This is not dead code, it only seemed that way because of "hidden" module.
Will be fixed in #38

@emilte emilte force-pushed the 29-type-checker-for-python branch from 2ce9390 to 4dd9e6d Compare June 13, 2025 08:19
@frafra frafra added this pull request to the merge queue Jun 13, 2025
Merged via the queue into main with commit e5f89c1 Jun 13, 2025
12 checks passed
@emilte emilte deleted the 29-type-checker-for-python branch June 13, 2025 15:49
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.

Type checker for python

2 participants