Copyright headers cleanup

Element of #142
New year lint removal
This commit is contained in:
0x5c 2020-01-31 06:50:50 -05:00
parent 56b74108eb
commit fdfc8cce06
No known key found for this signature in database
GPG Key ID: 82039FC95E3FE970
20 changed files with 67 additions and 60 deletions

View File

@ -3,8 +3,8 @@ Common tools for the bot.
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""

View File

@ -3,17 +3,19 @@ ae7q extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
---
Test callsigns:
KN8U: active, restricted
AB2EE: expired, restricted
KE8FGB: assigned once, no restrictions
KV4AAA: unassigned, no records
KC4USA: reserved, no call history, *but* has application history
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
# Test callsigns:
# KN8U: active, restricted
# AB2EE: expired, restricted
# KE8FGB: assigned once, no restrictions
# KV4AAA: unassigned, no records
# KC4USA: reserved, no call history, *but* has application history
import discord.ext.commands as commands
import aiohttp

View File

@ -3,8 +3,8 @@ Base extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""

View File

@ -3,10 +3,11 @@ Fun extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
import random
import discord.ext.commands as commands

View File

@ -3,10 +3,11 @@ Grid extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
import math
import discord.ext.commands as commands

View File

@ -3,10 +3,11 @@ Ham extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
from datetime import datetime
import discord.ext.commands as commands

View File

@ -3,10 +3,11 @@ Image extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
import io
import aiohttp

View File

@ -3,10 +3,11 @@ Lookup extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
import threading
from discord.ext import commands, tasks

View File

@ -3,10 +3,11 @@ Morse Code extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
import discord.ext.commands as commands
import common as cmn

View File

@ -3,9 +3,11 @@ QRZ extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
from collections import OrderedDict
from io import BytesIO

View File

@ -3,10 +3,11 @@ Study extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
import random
import json
from datetime import datetime

View File

@ -3,10 +3,11 @@ Weather extension for qrm
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
import io
import re

18
info.py
View File

@ -3,23 +3,11 @@ Static info about the bot.
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
---
`authors`: The authors of the bot.
`description`: A description of the bot.
`license`: The license the bot is released under.
`contrubuting`: Info on how to contribute to the bot.
`release`: Current bot version.
`release_timestamp`: When the bot was last released.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""
authors = ("@ClassAbbyAmplifier#2229", "@0x5c#0639")
description = """A bot with various useful ham radio-related functions, written in Python."""
license = "Released under the GNU General Public License v2"

View File

@ -4,8 +4,8 @@ qrm, a bot for Discord
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""

View File

@ -3,10 +3,11 @@ Information about callsigns for the vanity prefixes command in hamcog.
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrmbot and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrmbot and is released under the terms of
the GNU General Public License, version 2.
"""
from collections import OrderedDict

View File

@ -3,9 +3,11 @@ A listing of morse code symbols
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrmbot and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrmbot and is released under the terms of
the GNU General Public License, version 2.
"""
morse = {
"A": ".-",
"B": "-...",

View File

@ -3,10 +3,11 @@ A listing of NATO Phonetics
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrmbot and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrmbot and is released under the terms of
the GNU General Public License, version 2.
"""
phonetics = {
"a": "alfa",
"b": "bravo",

View File

@ -3,9 +3,11 @@ A listing of Q Codes
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrmbot and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrmbot and is released under the terms of
the GNU General Public License, version 2.
"""
# flake8: noqa
qcodes = {"QAB": "May I have clearance (for ...) from ... (place) to ... (place) at flight level/altitude ... ? / You are cleared (or ... is cleared) by ... from ... (place) to ... (place) at flight level/altitude ...",
"QAF": "Will you advise me when you are (were) at (over) ... (place)? / I am (was) at (over) ... (place) (at ... hours) at flight level/altitude ...",

View File

@ -3,10 +3,11 @@ A listing of hamstudy command resources
---
Copyright (C) 2019-2020 Abigail Gold, 0x5c
This file is part of discord-qrmbot and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrmbot and is released under the terms of
the GNU General Public License, version 2.
"""
pool_names = {
"us": {
"technician": "E2",

View File

@ -3,8 +3,8 @@ Wrapper to handle aiohttp connector creation.
---
Copyright (C) 2020 Abigail Gold, 0x5c
This file is part of discord-qrm2 and is released under the terms of the GNU
General Public License, version 2.
This file is part of discord-qrm2 and is released under the terms of
the GNU General Public License, version 2.
"""