Ask HN: Should source files always end in a new line?

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Zigi - Delete the most useless function ever: context switching.
  • Sonar - Write Clean Python Code. Always.
  • Scout APM - Truly a developer’s best friend
  • pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

    Most importantly, pick a linter that can automatically fix it. I use pre-commit ( for that. As a bonus, it supports other, language-specific linters.

  • black

    The uncompromising Python code formatter

    One project you may be interested in is Black for python.

    It's a code formatter that provides one style with very limited configuration. The idea being the rigidness removes bike shedding and forces consistency.

    Of course you can use any code formatter and configure it to your liking, but there's something to be said about not giving the user levers to pull and argue about. Everyone just download Black, and you're good to go.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • editorconfig-vim

    EditorConfig plugin for Vim

    Yes. Just because a decision that's enforced allows the conversation to move on to other things.

    And to enforce it? Try which is supported natively by many editors (eg Visual Studio) and via plugins in others (eg VS Code).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts