Gaurav Guptaggupta2005.hashnode.dev·2 hours agoEnforcing Best Practices in Python Modules with `flake8-all-not-strings`Ensuring that the __all__ attribute in your Python modules contains only strings is crucial for maintaining clear and error-free code. The flake8-all-not-strings plugin for Flake8 helps enforce this best practice by identifying any non-string entries...Python
Sai Prasanna Maharanasaimaharana.hashnode.dev·Oct 23, 2024What is linting in python and what is pylint?Linting in Python refers to the process of using a tool called a linter to analyze source code for potential errors, bugs, stylistic inconsistencies, and deviations from coding standards. The primary goal of linting is to improve code quality, readab...pythonPython
Vishesh Guptavisheshg.hashnode.dev·Sep 25, 2024Importance of Linting: Why You Should Be Using a Linter in Your CodeThe Importance of Linting: Why You Should Be Using a Linter in Your Code As developers, we’ve all been there - pouring over lines of code, trying to track down a pesky bug or error. But what if I told you there’s a tool that can help you catch those ...10 likesProgramming Tips
Tarun Sharmatapstechie.hashnode.dev·Aug 29, 2024Enhancing Python Code Quality with an Automated AnalyzerIntroduction In software development, maintaining high code quality is crucial. However, manually ensuring that every piece of code adheres to best practices can be tedious and error-prone. This is where automated code quality analyzers come into pla...41 readspython-tools
Kilian Klugepragmaticnotes.hashnode.dev·May 5, 2024Running pre-commit in a reusable GitHub Actions workflow with cachingThe pre-commit framework is an awesome utility to enforce coding standards and run sanity checks, such as preventing large files from being committed. It's not just convenient to run locally on the developers' machines. By using pre-commit to run che...246 readsBest PracticesGitHub Actions
Sanchit Bajajsolitrix02.hashnode.dev·Apr 21, 2024Supercharge your workflow with Husky, Lint Staged and CommitlintAs a developer, I'm constantly scouring for those nitty-gritty details because, let's face it, they make all the difference. But you know what really grinds my gears? 🤔 It's when I'm knee-deep in a project, collaborating with a bunch of other devs, ...42 readsDevOpshusky
Klaus Lehneragilecoding.io·Apr 15, 2024Advanced project setup with Nest.js and TypescriptWhen you're coming from the Java world to the Node.js ecosystem like I did, you will struggle a bit in the beginning. It's a constant back and forth and not everything I tried was a good one. As I already explained in my previous article, I finally e...1 like·2.3K readsFrom Kotlin/Spring to Typescript/Nest.jsNode.js
Gitar, Incgitar.hashnode.dev·Mar 6, 2024Taming Null Dereferences with Pluggable Type Systems - Part IThis post provides a gentle introduction to both NullAway - an open-source tool to prevent null pointer exceptions in Java - as well as pluggable type systems for nullability in general. It is meant to be the first in a series of posts describing mul...static code analysis
Derek Armstrongderekarmstrong.dev·Feb 15, 2024A Practical Guide to Clean CodingIntroduction Remember the last time you tried to untangle that bundle of Christmas lights or wires that you swore was wrapped up ever so nicely the year before? That’s what it feels like to work with spaghetti code. The dreaded feeling of, what is th...39 reads👨🏻💻 Code CraftPython
Petru Grozeagrz.hashnode.dev·Jan 16, 2024How to lint your commit messagesYou just learned about Conventional Commits specification and its benefits, and would like to adopt it. Change is difficult, how do you make sure you never go rogue again? The answer to that is simple, using commitlint to lint your commit messages. W...98 readscommitlint