From 004cb33f886ab6d10e2bde83c11cc823da2393a0 Mon Sep 17 00:00:00 2001 From: Romain Boman Date: Wed, 27 Sep 2023 17:12:03 +0200 Subject: [PATCH] format --- apps/splines/plot_matplot.py | 3 +-- format_code.py | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/splines/plot_matplot.py b/apps/splines/plot_matplot.py index b684ed75..ae547f7c 100755 --- a/apps/splines/plot_matplot.py +++ b/apps/splines/plot_matplot.py @@ -7,7 +7,6 @@ from splines import * - def plot_one_seg(): """ Test routine: create one segment and plot it with matplotlib """ @@ -68,7 +67,7 @@ def plot_one_spline(): fig = plt.figure() plt.plot(sx, sy) - plt.plot(px, py,'o') + plt.plot(px, py, 'o') plt.grid() plt.xlabel('X') plt.ylabel('Y') diff --git a/format_code.py b/format_code.py index e003f93e..89e9c769 100755 --- a/format_code.py +++ b/format_code.py @@ -3,10 +3,8 @@ # # This script runs "clang-format" recursively on all C/C++ files -import sys import os import fnmatch -import re import subprocess @@ -41,7 +39,6 @@ def all_files(root, def main(): # loop over all files and format them - encs = {} for f in all_files(os.getcwd(), patterns='*.cpp;*.c;*.h;*.hpp', skips='*.git*;*build*;*externals*'): print(f)