From: Florent Kermarrec Date: Mon, 24 Jun 2019 05:29:24 +0000 (+0200) Subject: make sure #!/usr/bin/env python3 is before copyright header X-Git-Tag: 24jan2021_ls180~1150 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f6e66ca5295921828e444994f5f92f25606d517;p=litex.git make sure #!/usr/bin/env python3 is before copyright header --- diff --git a/litex/boards/targets/ac701.py b/litex/boards/targets/ac701.py index 49f40ecd..eed0a45c 100755 --- a/litex/boards/targets/ac701.py +++ b/litex/boards/targets/ac701.py @@ -1,9 +1,9 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2019 Vamsi K Vytla # This file is Copyright (c) 2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/arty.py b/litex/boards/targets/arty.py index d650760c..ecec01b1 100755 --- a/litex/boards/targets/arty.py +++ b/litex/boards/targets/arty.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2015-2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/de0nano.py b/litex/boards/targets/de0nano.py index 9d7c22a0..03c063ab 100755 --- a/litex/boards/targets/de0nano.py +++ b/litex/boards/targets/de0nano.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2015-2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/de10lite.py b/litex/boards/targets/de10lite.py index 6f68c843..9b8c5498 100755 --- a/litex/boards/targets/de10lite.py +++ b/litex/boards/targets/de10lite.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2019 msloniewski # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/de1soc.py b/litex/boards/targets/de1soc.py index caf87396..597742c3 100755 --- a/litex/boards/targets/de1soc.py +++ b/litex/boards/targets/de1soc.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2019 Antony Pavlov # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/de2_115.py b/litex/boards/targets/de2_115.py index 332dfa78..bd8320b8 100755 --- a/litex/boards/targets/de2_115.py +++ b/litex/boards/targets/de2_115.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2015-2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/genesys2.py b/litex/boards/targets/genesys2.py index d5662473..f6b10da0 100755 --- a/litex/boards/targets/genesys2.py +++ b/litex/boards/targets/genesys2.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/kc705.py b/litex/boards/targets/kc705.py index 8ff77e18..2c59c5c9 100755 --- a/litex/boards/targets/kc705.py +++ b/litex/boards/targets/kc705.py @@ -1,10 +1,10 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2014-2015 Sebastien Bourdeauducq # This file is Copyright (c) 2014-2019 Florent Kermarrec # This file is Copyright (c) 2014-2015 Yann Sionneau # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/kcu105.py b/litex/boards/targets/kcu105.py index 5b522086..1f73d594 100755 --- a/litex/boards/targets/kcu105.py +++ b/litex/boards/targets/kcu105.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/minispartan6.py b/litex/boards/targets/minispartan6.py index 45e88c52..aaea92a5 100755 --- a/litex/boards/targets/minispartan6.py +++ b/litex/boards/targets/minispartan6.py @@ -1,10 +1,10 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq # This file is Copyright (c) 2014-2019 Florent Kermarrec # This file is Copyright (c) 2014 Yann Sionneau # License: BSD -#!/usr/bin/env python3 - import argparse from fractions import Fraction diff --git a/litex/boards/targets/netv2.py b/litex/boards/targets/netv2.py index 834f4cd0..e8a50a2d 100755 --- a/litex/boards/targets/netv2.py +++ b/litex/boards/targets/netv2.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/nexys4ddr.py b/litex/boards/targets/nexys4ddr.py index 5f681f42..e46f4314 100755 --- a/litex/boards/targets/nexys4ddr.py +++ b/litex/boards/targets/nexys4ddr.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/nexys_video.py b/litex/boards/targets/nexys_video.py index 9b2fe5c9..3d58a42a 100755 --- a/litex/boards/targets/nexys_video.py +++ b/litex/boards/targets/nexys_video.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2015-2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/simple.py b/litex/boards/targets/simple.py index 28a14923..40677207 100755 --- a/litex/boards/targets/simple.py +++ b/litex/boards/targets/simple.py @@ -1,9 +1,9 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2014-2019 Florent Kermarrec # This file is Copyright (c) 2013-2014 Sebastien Bourdeauducq # License: BSD -#!/usr/bin/env python3 - import argparse import importlib diff --git a/litex/boards/targets/ulx3s.py b/litex/boards/targets/ulx3s.py index 1f9b451a..4a80ee6f 100755 --- a/litex/boards/targets/ulx3s.py +++ b/litex/boards/targets/ulx3s.py @@ -1,9 +1,9 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2018-2019 Florent Kermarrec # This file is Copyright (c) 2018 David Shah # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/boards/targets/versa_ecp5.py b/litex/boards/targets/versa_ecp5.py index 412e1684..8f1a9719 100755 --- a/litex/boards/targets/versa_ecp5.py +++ b/litex/boards/targets/versa_ecp5.py @@ -1,9 +1,9 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2018-2019 Florent Kermarrec # This file is Copyright (c) 2018-2019 David Shah # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/soc/software/mkmscimg.py b/litex/soc/software/mkmscimg.py index 2c9d9d9e..14eec707 100644 --- a/litex/soc/software/mkmscimg.py +++ b/litex/soc/software/mkmscimg.py @@ -1,9 +1,9 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2015 Sebastien Bourdeauducq # This file is Copyright (c) 2018 Dolu1990 # License: BSD -#!/usr/bin/env python3 - import argparse import binascii diff --git a/litex/tools/litex_read_verilog.py b/litex/tools/litex_read_verilog.py index 0a510830..12b274b6 100755 --- a/litex/tools/litex_read_verilog.py +++ b/litex/tools/litex_read_verilog.py @@ -1,8 +1,8 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2018-2019 Florent Kermarrec # License: BSD -#!/usr/bin/env python3 - import os import sys import json diff --git a/litex/tools/litex_server.py b/litex/tools/litex_server.py index 54a5d6a5..e17fe115 100755 --- a/litex/tools/litex_server.py +++ b/litex/tools/litex_server.py @@ -1,10 +1,10 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2015-2019 Florent Kermarrec # This file is Copyright (c) 2019 Sean Cross # This file is Copyright (c) 2018 Felix Held # License: BSD -#!/usr/bin/env python3 - import argparse import sys diff --git a/litex/tools/litex_sim.py b/litex/tools/litex_sim.py index 9c1965be..afd35929 100755 --- a/litex/tools/litex_sim.py +++ b/litex/tools/litex_sim.py @@ -1,9 +1,9 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2015-2019 Florent Kermarrec # This file is Copyright (c) 2017 Pierre-Olivier Vauboin # License: BSD -#!/usr/bin/env python3 - import argparse from migen import * diff --git a/litex/tools/litex_term.py b/litex/tools/litex_term.py index bf11c4e7..1cd9a513 100755 --- a/litex/tools/litex_term.py +++ b/litex/tools/litex_term.py @@ -1,11 +1,10 @@ +#!/usr/bin/env python3 + # This file is Copyright (c) 2015-2019 Florent Kermarrec # This file is Copyright (c) 2015 Sebastien Bourdeauducq # This file is Copyright (c) 2016 whitequark - # License: BSD -#!/usr/bin/env python3 - import sys import signal import os