Skip to content

Conversation

@yalishanda42
Copy link
Contributor

No description provided.

@yalishanda42 yalishanda42 requested a review from lyubolp February 8, 2025 15:26

# pylint emits false positives for the dynamic properties of Django models
# so there is a plugin to suppress those
pylint_args.append("--load-plugins=pylint_django")
Copy link
Contributor

Choose a reason for hiding this comment

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

Можем ли да го добавим в pylintrc-то ?

Copy link
Contributor Author

@yalishanda42 yalishanda42 Feb 10, 2025

Choose a reason for hiding this comment

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

няма да стане толкова лесно, колкото си го мислих, понеже се оказа, че ще гърми с 0/10 за не-джанго проектите ако винаги е включен плъгина.

Вариант, който ми хрумна, е през кода да засечем дали има и джанго и тогава само да добавя плъгина, обаче ние трябва вътре във venv-a да засечем джанго, а пък pylint не е нагласена да се изпълнява във venv-a сега, и става дебела работата

@yalishanda42 yalishanda42 requested a review from lyubolp February 9, 2025 10:11
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