[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2024-03-22 Thread AndrewTavis_WMDE
AndrewTavis_WMDE added a comment.


  Exciting! I'll play around a bit towards the end of next week and send along 
a PR with the workflow, docs and changes given the local run warnings 😊 Will 
let you know if anything comes up before then. Have a nice weekend when it 
comes along!

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, lbowmaker, BTullis, 
karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, Akuckartz, 
Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2024-03-22 Thread nshahquinn-wmf
nshahquinn-wmf added a project: Movement-Insights.

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE, nshahquinn-wmf
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, lbowmaker, BTullis, 
karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, Akuckartz, 
Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2024-03-22 Thread nshahquinn-wmf
nshahquinn-wmf added a comment.


  @AndrewTavis_WMDE that sounds great to me! I personally have no preference 
about the package we choose, so I'm on board with the idea of Ruff with the 
Black ruleset (since that's what Data Engineering uses).
  
  Looking forward to it! 😁

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE, nshahquinn-wmf
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, lbowmaker, BTullis, 
karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, Akuckartz, 
Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2024-03-22 Thread AndrewTavis_WMDE
AndrewTavis_WMDE added a comment.


  @nshahquinn-wmf, @xcollazo: checking in on this one again. I would have some 
time in the next two weeks or so to implement a PR workflow check of linting 
and code formatting. If folks are fine with Ruff 
 that'd be easiest on my end, but also happy 
to consider others! I'd also suggest adding in a `.vscode/extensions.json` file 
that would allow us to suggest VS Code extensions like the Ruff extension 
 so 
people are getting the appropriate warnings during editing. Included would of 
course also be some documentation on how to run the checks locally before a PR 😊
  
  Let me know if this would be of interest on your all's end!

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, lbowmaker, BTullis, 
karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, Akuckartz, 
Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2024-01-18 Thread mpopov
mpopov removed a project: Product-Analytics.

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE, mpopov
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, lbowmaker, BTullis, 
karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, Akuckartz, 
Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331, 
EChetty, Base
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2023-10-30 Thread xcollazo
xcollazo added a comment.


  > what other Wikimedia Python projects do
  
  FWIW, in Data Engineering land, we have (arbitrarily) chosen black 

 as de facto for recent projects.
  
  Having said that, I think the value of these tools resides in the automation, 
rather than the specifics. So whatever keeps its maintainers happy should 
prevail.  If you do have a preference, @nshahquinn-wmf, then let's go with that.

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE, xcollazo
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, EChetty, lbowmaker, 
BTullis, karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, 
Akuckartz, Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Base, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2023-10-30 Thread AndrewTavis_WMDE
AndrewTavis_WMDE added a comment.


  We could further make use of pre-commit  to check 
code before commits, which is further something that's suggested in the WMF 
Airflow docs 
.

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, EChetty, lbowmaker, 
BTullis, karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, 
Akuckartz, Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Base, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2023-10-30 Thread AndrewTavis_WMDE
AndrewTavis_WMDE added a comment.


  Ruff also just brought out its own formatter 

 that's fully compatible with Black.  As far as formatting adoption at WMF, 
product analytics states here in their styleguide 
 that they follow 
the MediaWiki styleguide 
 that's Pep 8 
based, however for Airflow the formatting is supposed to be Black (see their 
docs 
).
 I'll let you two decide what that means for wmfdata-python, but if we go with 
Black then going with the Ruff implementation to just have one 
dependency/framework makes sense  to me 🙃

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, EChetty, lbowmaker, 
BTullis, karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, 
Akuckartz, Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Base, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2023-10-29 Thread nshahquinn-wmf
nshahquinn-wmf added a comment.


  > The Product Analytics Styleguide suggests PEP 8, but maybe we want to 
consider black in that it's now Python Software Foundation maintained and can 
integrate with Ruff.
  
  I think it's well worth considering! The only thing I'd want to check first 
is whether this is significantly different from the MediaWiki Python style and 
what other Wikimedia Python projects do.

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE, nshahquinn-wmf
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, EChetty, lbowmaker, 
BTullis, karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, 
Akuckartz, Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Base, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2023-10-23 Thread AndrewTavis_WMDE
AndrewTavis_WMDE added a comment.


  Updated the task and also mentioned maybe adding an auto-formatter that could 
help to make sure that things are running smoothly before we have workflows set 
up to test PRs/MRs :)

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, EChetty, lbowmaker, 
BTullis, karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, 
Akuckartz, Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Base, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T348999: Add linter and formatter to wmfdata-python (and link check)

2023-10-23 Thread AndrewTavis_WMDE
AndrewTavis_WMDE renamed this task from "wmfdata-python formatting and link 
check" to "Add linter and formatter to wmfdata-python (and link check)".
AndrewTavis_WMDE claimed this task.
AndrewTavis_WMDE updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T348999

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE
Cc: nshahquinn-wmf, xcollazo, Aklapper, AndrewTavis_WMDE, 
Danny_Benjafield_WMDE, Mohamed-Awnallah, Astuthiodit_1, EChetty, lbowmaker, 
BTullis, karapayneWMDE, Invadibot, Ywats0ns, maantietaja, ItamarWMDE, 
Akuckartz, Mayakp.wiki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Base, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org