logo

FOSS4G 2022 | Take-Home Messages from Adding Code Quality Measures to GRASS GIS

FOSS4G

FOSS4G

10 followers

time1 yr agoview1 views

The message is not surprising: You should quality check your code, too, even if you are writing a small script for your own needs! However, maybe you wondered if all the warning messages are relevant to you or got discouraged after getting a flood of messages from tools like Pylint. Perhaps you were even annoyed by it. This talk will help you get motivated and get started and how to automate that with continuous integration tools such as GitHub Actions.

In this talk, I will share my experience with adding various code and non-code checks to GRASS GIS which is primarily written in C, C++, and Python. Checking a mixed code base with over 30 years of development is not easy, but not impossible. The talk will cover code quality measures in GRASS GIS such as tests, Pylint, Black, GCC, CodeQL, and Super-Linter and how this compares to my experience with new and small organizational repositories.

Vaclav Petras

https://talks.osgeo.org/foss4g-2022/talk/DQPT8L/

#foss4g2022 #generaltrack #Stateofsoftware

Loading comments...