home.social

#wily — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #wily, aggregated by home.social.

  1. @riverfount Ótimo post, obrigado!

    Contribuo para o projeto #wily, que roda o #radon para cada commit em um repositório e mostra uma tabela ou gráfico das mudanças de #ComplexidadeCiclomatica e outras medidas (número total de linhas, Halstead etc.). Ou melhor, rodava: está sendo reescrito em Rust nesse exato momento. Mas mantém as mesmas medidas.

    Fiz alguns toots sobre a ferramenta e algumas experiências (como um dashboard que nunca foi agregado ao projeto): mastodon.social/@danzin/tagged

  2. @riverfount Ótimo post, obrigado!

    Contribuo para o projeto #wily, que roda o #radon para cada commit em um repositório e mostra uma tabela ou gráfico das mudanças de #ComplexidadeCiclomatica e outras medidas (número total de linhas, Halstead etc.). Ou melhor, rodava: está sendo reescrito em Rust nesse exato momento. Mas mantém as mesmas medidas.

    Fiz alguns toots sobre a ferramenta e algumas experiências (como um dashboard que nunca foi agregado ao projeto): mastodon.social/@danzin/tagged

  3. @riverfount Ótimo post, obrigado!

    Contribuo para o projeto #wily, que roda o #radon para cada commit em um repositório e mostra uma tabela ou gráfico das mudanças de #ComplexidadeCiclomatica e outras medidas (número total de linhas, Halstead etc.). Ou melhor, rodava: está sendo reescrito em Rust nesse exato momento. Mas mantém as mesmas medidas.

    Fiz alguns toots sobre a ferramenta e algumas experiências (como um dashboard que nunca foi agregado ao projeto): mastodon.social/@danzin/tagged

  4. @riverfount Ótimo post, obrigado!

    Contribuo para o projeto #wily, que roda o #radon para cada commit em um repositório e mostra uma tabela ou gráfico das mudanças de #ComplexidadeCiclomatica e outras medidas (número total de linhas, Halstead etc.). Ou melhor, rodava: está sendo reescrito em Rust nesse exato momento. Mas mantém as mesmas medidas.

    Fiz alguns toots sobre a ferramenta e algumas experiências (como um dashboard que nunca foi agregado ao projeto): mastodon.social/@danzin/tagged

  5. @riverfount Ótimo post, obrigado!

    Contribuo para o projeto #wily, que roda o #radon para cada commit em um repositório e mostra uma tabela ou gráfico das mudanças de #ComplexidadeCiclomatica e outras medidas (número total de linhas, Halstead etc.). Ou melhor, rodava: está sendo reescrito em Rust nesse exato momento. Mas mantém as mesmas medidas.

    Fiz alguns toots sobre a ferramenta e algumas experiências (como um dashboard que nunca foi agregado ao projeto): mastodon.social/@danzin/tagged

  6. 🇬🇧 #Wiły - #Slavic forest nymphs with flower-braided hair who danced around victims in hypnotic circles, luring them deep into woods. Guardians of nature & dangerous spirits punishing those who disturbed their domains. 📷 TT Artisan 75mm f/1.5 #Photography #Nature #Pagan #Nude #Witch #XXIWiek

  7. So I've created a #wily report for one thousand Black (the Python formatter) commits.

    You can see that there was a huge (and complex), 7k lines __init__.py that got broken up around May 2021.

    There's a trend of increasing LOC and complexity.

    This report shows me there's a lot to improve in wily's code. Hopefully I'm back at that.

    @hugovk @ambv

    #Python #Black #formatter #CodeStyle #Cyclomatic #Complexity #Halstead #codequality #codemetrics

    devdanzin.github.io/black/

  8. So I've created a #wily report for one thousand Black (the Python formatter) commits.

    You can see that there was a huge (and complex), 7k lines __init__.py that got broken up around May 2021.

    There's a trend of increasing LOC and complexity.

    This report shows me there's a lot to improve in wily's code. Hopefully I'm back at that.

    @hugovk @ambv

    #Python #Black #formatter #CodeStyle #Cyclomatic #Complexity #Halstead #codequality #codemetrics

    devdanzin.github.io/black/

  9. So I've created a #wily report for one thousand Black (the Python formatter) commits.

    You can see that there was a huge (and complex), 7k lines __init__.py that got broken up around May 2021.

    There's a trend of increasing LOC and complexity.

    This report shows me there's a lot to improve in wily's code. Hopefully I'm back at that.

    @hugovk @ambv

    #Python #Black #formatter #CodeStyle #Cyclomatic #Complexity #Halstead #codequality #codemetrics

    devdanzin.github.io/black/

  10. So I've created a #wily report for one thousand Black (the Python formatter) commits.

    You can see that there was a huge (and complex), 7k lines __init__.py that got broken up around May 2021.

    There's a trend of increasing LOC and complexity.

    This report shows me there's a lot to improve in wily's code. Hopefully I'm back at that.

    @hugovk @ambv

    #Python #Black #formatter #CodeStyle #Cyclomatic #Complexity #Halstead #codequality #codemetrics

    devdanzin.github.io/black/

  11. So I've created a #wily report for one thousand Black (the Python formatter) commits.

    You can see that there was a huge (and complex), 7k lines __init__.py that got broken up around May 2021.

    There's a trend of increasing LOC and complexity.

    This report shows me there's a lot to improve in wily's code. Hopefully I'm back at that.

    @hugovk @ambv

    #Python #Black #formatter #CodeStyle #Cyclomatic #Complexity #Halstead #codequality #codemetrics

    devdanzin.github.io/black/

  12. Adding JSON support for #wily: now the results of diff, index, rank and report can be output as JSON.

    If you can help with code review or tips on how to improve the output, I'm open to all suggestions.

    Wily is a CLI application for tracking, reporting on complexity of Python code. It uses git to go through each revision and run complexity and code-analysis metrics over the code.

    #python #Cyclomatic #Complexity #Halstead

    github.com/tonybaloney/wily/pu

  13. Adding JSON support for #wily: now the results of diff, index, rank and report can be output as JSON.

    If you can help with code review or tips on how to improve the output, I'm open to all suggestions.

    Wily is a CLI application for tracking, reporting on complexity of Python code. It uses git to go through each revision and run complexity and code-analysis metrics over the code.

    #python #Cyclomatic #Complexity #Halstead

    github.com/tonybaloney/wily/pu

  14. Adding JSON support for #wily: now the results of diff, index, rank and report can be output as JSON.

    If you can help with code review or tips on how to improve the output, I'm open to all suggestions.

    Wily is a CLI application for tracking, reporting on complexity of Python code. It uses git to go through each revision and run complexity and code-analysis metrics over the code.

    #python #Cyclomatic #Complexity #Halstead

    github.com/tonybaloney/wily/pu

  15. Adding JSON support for #wily: now the results of diff, index, rank and report can be output as JSON.

    If you can help with code review or tips on how to improve the output, I'm open to all suggestions.

    Wily is a CLI application for tracking, reporting on complexity of Python code. It uses git to go through each revision and run complexity and code-analysis metrics over the code.

    #python #Cyclomatic #Complexity #Halstead

    github.com/tonybaloney/wily/pu

  16. Adding JSON support for #wily: now the results of diff, index, rank and report can be output as JSON.

    If you can help with code review or tips on how to improve the output, I'm open to all suggestions.

    Wily is a CLI application for tracking, reporting on complexity of Python code. It uses git to go through each revision and run complexity and code-analysis metrics over the code.

    #python #Cyclomatic #Complexity #Halstead

    github.com/tonybaloney/wily/pu

  17. With support from #ASTTokens, we can then use #radon to collect Raw (LOC, comments, blank lines, etc.) metrics from #Python functions and methods.

    After adding support for #wily to annotate source code with these metrics, we can display them inline with help from HTML and JS, as in the attached images.

    Each line displays the selected metric (or all metrics) on the left. It allows quickly finding, e.g., code with too few comments or blank lines versus lines of code.

    5/5
    #codequality

  18. With support from #ASTTokens, we can then use #radon to collect Raw (LOC, comments, blank lines, etc.) metrics from #Python functions and methods.

    After adding support for #wily to annotate source code with these metrics, we can display them inline with help from HTML and JS, as in the attached images.

    Each line displays the selected metric (or all metrics) on the left. It allows quickly finding, e.g., code with too few comments or blank lines versus lines of code.

    5/5
    #codequality

  19. With support from #ASTTokens, we can then use #radon to collect Raw (LOC, comments, blank lines, etc.) metrics from #Python functions and methods.

    After adding support for #wily to annotate source code with these metrics, we can display them inline with help from HTML and JS, as in the attached images.

    Each line displays the selected metric (or all metrics) on the left. It allows quickly finding, e.g., code with too few comments or blank lines versus lines of code.

    5/5
    #codequality

  20. With support from #ASTTokens, we can then use #radon to collect Raw (LOC, comments, blank lines, etc.) metrics from #Python functions and methods.

    After adding support for #wily to annotate source code with these metrics, we can display them inline with help from HTML and JS, as in the attached images.

    Each line displays the selected metric (or all metrics) on the left. It allows quickly finding, e.g., code with too few comments or blank lines versus lines of code.

    5/5
    #codequality

  21. With support from #ASTTokens, we can then use #radon to collect Raw (LOC, comments, blank lines, etc.) metrics from #Python functions and methods.

    After adding support for #wily to annotate source code with these metrics, we can display them inline with help from HTML and JS, as in the attached images.

    Each line displays the selected metric (or all metrics) on the left. It allows quickly finding, e.g., code with too few comments or blank lines versus lines of code.

    5/5
    #codequality

  22. At last, submitted a proposal for a #Python source code annotator for #wily, by @tonybaloney.

    It allows inline visualization of code metrics in source code, inspired by @coveragepy

    Uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics, then adds color coded metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    The code works, there are screenshots and an example in the linked issue.

    #codequality

    github.com/tonybaloney/wily/is

  23. At last, submitted a proposal for a #Python source code annotator for #wily, by @tonybaloney.

    It allows inline visualization of code metrics in source code, inspired by @coveragepy

    Uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics, then adds color coded metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    The code works, there are screenshots and an example in the linked issue.

    #codequality

    github.com/tonybaloney/wily/is

  24. At last, submitted a proposal for a #Python source code annotator for #wily, by @tonybaloney.

    It allows inline visualization of code metrics in source code, inspired by @coveragepy

    Uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics, then adds color coded metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    The code works, there are screenshots and an example in the linked issue.

    #codequality

    github.com/tonybaloney/wily/is

  25. At last, submitted a proposal for a #Python source code annotator for #wily, by @tonybaloney.

    It allows inline visualization of code metrics in source code, inspired by @coveragepy

    Uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics, then adds color coded metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    The code works, there are screenshots and an example in the linked issue.

    #codequality

    github.com/tonybaloney/wily/is

  26. At last, submitted a proposal for a #Python source code annotator for #wily, by @tonybaloney.

    It allows inline visualization of code metrics in source code, inspired by @coveragepy

    Uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics, then adds color coded metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    The code works, there are screenshots and an example in the linked issue.

    #codequality

    github.com/tonybaloney/wily/is

  27. I'm bad at writing documentation, here's my latest attempt:

    """
    # `wily annotate` design and implementation

    `wily annotate` is a new command being proposed for addition to #wily. It works
    on an already built wily cache and uses detailed metric information to add metric
    values to source file listings. From its docs:
    > The annotate command will generate annotated #Python source and output it to
    > console or save as HTML, with metric values for a revision or single file.
    [...]
    """

    #CodeQuality

  28. I'm bad at writing documentation, here's my latest attempt:

    """
    # `wily annotate` design and implementation

    `wily annotate` is a new command being proposed for addition to #wily. It works
    on an already built wily cache and uses detailed metric information to add metric
    values to source file listings. From its docs:
    > The annotate command will generate annotated #Python source and output it to
    > console or save as HTML, with metric values for a revision or single file.
    [...]
    """

    #CodeQuality

  29. I'm bad at writing documentation, here's my latest attempt:

    """
    # `wily annotate` design and implementation

    `wily annotate` is a new command being proposed for addition to #wily. It works
    on an already built wily cache and uses detailed metric information to add metric
    values to source file listings. From its docs:
    > The annotate command will generate annotated #Python source and output it to
    > console or save as HTML, with metric values for a revision or single file.
    [...]
    """

    #CodeQuality

  30. I'm bad at writing documentation, here's my latest attempt:

    """
    # `wily annotate` design and implementation

    `wily annotate` is a new command being proposed for addition to #wily. It works
    on an already built wily cache and uses detailed metric information to add metric
    values to source file listings. From its docs:
    > The annotate command will generate annotated #Python source and output it to
    > console or save as HTML, with metric values for a revision or single file.
    [...]
    """

    #CodeQuality

  31. I'm bad at writing documentation, here's my latest attempt:

    """
    # `wily annotate` design and implementation

    `wily annotate` is a new command being proposed for addition to #wily. It works
    on an already built wily cache and uses detailed metric information to add metric
    values to source file listings. From its docs:
    > The annotate command will generate annotated #Python source and output it to
    > console or save as HTML, with metric values for a revision or single file.
    [...]
    """

    #CodeQuality

  32. Today I wrote some trivial #python code to convert .gitignore rules to #radon exclude/ignore patterns. It turns out it was completely unnecessary for our project (#wily), because we already pass a tight list of targets for radon to scan.

    But it might be useful for upstream radon users, as an option to gather exclude/ignore rules from .gitignore. So I'll propose that as a new feature and see how it goes.

    #codequality #Cyclomatic #Complexity #Halstead #gitignore

    github.com/rubik/radon

  33. Today I wrote some trivial #python code to convert .gitignore rules to #radon exclude/ignore patterns. It turns out it was completely unnecessary for our project (#wily), because we already pass a tight list of targets for radon to scan.

    But it might be useful for upstream radon users, as an option to gather exclude/ignore rules from .gitignore. So I'll propose that as a new feature and see how it goes.

    #codequality #Cyclomatic #Complexity #Halstead #gitignore

    github.com/rubik/radon

  34. Today I wrote some trivial #python code to convert .gitignore rules to #radon exclude/ignore patterns. It turns out it was completely unnecessary for our project (#wily), because we already pass a tight list of targets for radon to scan.

    But it might be useful for upstream radon users, as an option to gather exclude/ignore rules from .gitignore. So I'll propose that as a new feature and see how it goes.

    #codequality #Cyclomatic #Complexity #Halstead #gitignore

    github.com/rubik/radon

  35. Today I wrote some trivial #python code to convert .gitignore rules to #radon exclude/ignore patterns. It turns out it was completely unnecessary for our project (#wily), because we already pass a tight list of targets for radon to scan.

    But it might be useful for upstream radon users, as an option to gather exclude/ignore rules from .gitignore. So I'll propose that as a new feature and see how it goes.

    #codequality #Cyclomatic #Complexity #Halstead #gitignore

    github.com/rubik/radon

  36. Today I wrote some trivial #python code to convert .gitignore rules to #radon exclude/ignore patterns. It turns out it was completely unnecessary for our project (#wily), because we already pass a tight list of targets for radon to scan.

    But it might be useful for upstream radon users, as an option to gather exclude/ignore rules from .gitignore. So I'll propose that as a new feature and see how it goes.

    #codequality #Cyclomatic #Complexity #Halstead #gitignore

    github.com/rubik/radon

  37. Working on a #Python source code annotator for #wily, which uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics. It adds metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    Because radon doesn't record line numbers for Halstead metrics, we do a little song and dance to add them. Will probably offer a patch to include them upstream.

    #codequality 🐍

    devdanzin.github.io/wily/annot

  38. Working on a #Python source code annotator for #wily, which uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics. It adds metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    Because radon doesn't record line numbers for Halstead metrics, we do a little song and dance to add them. Will probably offer a patch to include them upstream.

    #codequality 🐍

    devdanzin.github.io/wily/annot

  39. Working on a #Python source code annotator for #wily, which uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics. It adds metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    Because radon doesn't record line numbers for Halstead metrics, we do a little song and dance to add them. Will probably offer a patch to include them upstream.

    #codequality 🐍

    devdanzin.github.io/wily/annot

  40. Working on a #Python source code annotator for #wily, which uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics. It adds metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    Because radon doesn't record line numbers for Halstead metrics, we do a little song and dance to add them. Will probably offer a patch to include them upstream.

    #codequality 🐍

    devdanzin.github.io/wily/annot

  41. Working on a #Python source code annotator for #wily, which uses #radon to calculate #Cyclomatic #Complexity and #Halstead metrics. It adds metric values to a #Pygments highlighted source listing and allows changing the metrics for visualization.

    Because radon doesn't record line numbers for Halstead metrics, we do a little song and dance to add them. Will probably offer a patch to include them upstream.

    #codequality 🐍

    devdanzin.github.io/wily/annot

  42. @bmaxv @pybites Have you heard about wily, which allows you to report and graph history of Cyclomatic Complexity and other metrics (Maintenability Index, Halstead, etc.)? It used radon to get the metrics and goes through the Git history of a project using its visitors.

    I'm currently adding the ability to generate annotated source files with metric values. Here's an example: devdanzin.github.io/wily/annot

    #Python #wily #codequality

    github.com/tonybaloney/wily

  43. @bmaxv @pybites Have you heard about wily, which allows you to report and graph history of Cyclomatic Complexity and other metrics (Maintenability Index, Halstead, etc.)? It used radon to get the metrics and goes through the Git history of a project using its visitors.

    I'm currently adding the ability to generate annotated source files with metric values. Here's an example: devdanzin.github.io/wily/annot

    #Python #wily #codequality

    github.com/tonybaloney/wily

  44. @bmaxv @pybites Have you heard about wily, which allows you to report and graph history of Cyclomatic Complexity and other metrics (Maintenability Index, Halstead, etc.)? It used radon to get the metrics and goes through the Git history of a project using its visitors.

    I'm currently adding the ability to generate annotated source files with metric values. Here's an example: devdanzin.github.io/wily/annot

    #Python #wily #codequality

    github.com/tonybaloney/wily

  45. @bmaxv @pybites Have you heard about wily, which allows you to report and graph history of Cyclomatic Complexity and other metrics (Maintenability Index, Halstead, etc.)? It used radon to get the metrics and goes through the Git history of a project using its visitors.

    I'm currently adding the ability to generate annotated source files with metric values. Here's an example: devdanzin.github.io/wily/annot

    #Python #wily #codequality

    github.com/tonybaloney/wily

  46. Some more #Python code quality visualization improvements for #wily: it's now possible to annotate source code with #Halstead metrics (#Cyclomatic #Complexity was already working) and select which one to display and use to color code blocks.

    See a sample report here: devdanzin.github.io/wily/ (click the filenames for the annotated source code).

    Code for the annotator currently lives at github.com/devdanzin/wily/tree, I hope to submit it for upstreaming soon-ish.

    #CodeQuality

  47. Some more #Python code quality visualization improvements for #wily: it's now possible to annotate source code with #Halstead metrics (#Cyclomatic #Complexity was already working) and select which one to display and use to color code blocks.

    See a sample report here: devdanzin.github.io/wily/ (click the filenames for the annotated source code).

    Code for the annotator currently lives at github.com/devdanzin/wily/tree, I hope to submit it for upstreaming soon-ish.

    #CodeQuality

  48. Some more #Python code quality visualization improvements for #wily: it's now possible to annotate source code with #Halstead metrics (#Cyclomatic #Complexity was already working) and select which one to display and use to color code blocks.

    See a sample report here: devdanzin.github.io/wily/ (click the filenames for the annotated source code).

    Code for the annotator currently lives at github.com/devdanzin/wily/tree, I hope to submit it for upstreaming soon-ish.

    #CodeQuality

  49. Some more #Python code quality visualization improvements for #wily: it's now possible to annotate source code with #Halstead metrics (#Cyclomatic #Complexity was already working) and select which one to display and use to color code blocks.

    See a sample report here: devdanzin.github.io/wily/ (click the filenames for the annotated source code).

    Code for the annotator currently lives at github.com/devdanzin/wily/tree, I hope to submit it for upstreaming soon-ish.

    #CodeQuality