Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

melange/all: huge style refactor #8447

Merged
merged 1 commit into from
Mar 19, 2019

Conversation

itzexor
Copy link
Contributor

@itzexor itzexor commented Mar 8, 2019

This is about as good as I can get it. It makes pylint warnings at least somewhat usable, from ~400 warnings to like 60 or less....

pylintrc:

  • add unused-argument and wrong import posistion to ignored warnings since
    we trigger these often with gi callback signatures and the way we have
    to specify gi lib versions before import via a function call.
  • ignore some common size/width vars from naming restrictions

melange:

  • convert everything except dbus methods to snake_case
  • various other style cleanups here and there
  • remove unused memory page, as this is no longer supported by cjs
    and i haven't seen any replacement functionality.

pylintrc:
- add `unused-argument` and `wrong-import-posistion` to ignored warnings
  since we trigger these often with gi callback signatures and the way
  we have to specify library versions before import via a function call.
- ignore some common size/width vars from naming restrictions
- allow loading some common modules so that we get less undefined
  references

melange:
- convert everything except dbus methods to snake_case
- various other style cleanups here and there
- remove unused memory page, as this is no longer supported by cjs
  and I haven't seen any replacement functionality.
@linuxmint linuxmint deleted a comment Mar 13, 2019
@itzexor itzexor changed the title [WIP] melange/all: huge style refactor melange/all: huge style refactor Mar 13, 2019
@clefebvre clefebvre merged commit 7799e2e into linuxmint:master Mar 19, 2019
clefebvre pushed a commit that referenced this pull request Jun 5, 2019
pylintrc:
- add `unused-argument` and `wrong-import-posistion` to ignored warnings
  since we trigger these often with gi callback signatures and the way
  we have to specify library versions before import via a function call.
- ignore some common size/width vars from naming restrictions
- allow loading some common modules so that we get less undefined
  references

melange:
- convert everything except dbus methods to snake_case
- various other style cleanups here and there
- remove unused memory page, as this is no longer supported by cjs
  and I haven't seen any replacement functionality.
@itzexor itzexor deleted the melange-pylint-cleanup branch July 14, 2019 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants