Update copyright year and run `reuse lint` as part of the test.
Chris Pressey
1 year, 7 days ago
0 | 0 |
<!--
|
1 | |
Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
2 | |
|
|
1 |
Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
|
2 |
This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
3 | 3 |
SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
4 | 4 |
-->
|
5 | 5 |
|
0 | 0 |
BSD 2-Clause License
|
1 | 1 |
|
2 | |
Copyright (c) 2022-2023, Chris Pressey, Cat's Eye Technologies.
|
|
2 |
Copyright (c) 2022-2024, Chris Pressey, Cat's Eye Technologies.
|
3 | 3 |
All rights reserved.
|
4 | 4 |
|
5 | 5 |
Redistribution and use in source and binary forms, with or without
|
1 | 1 |
=====
|
2 | 2 |
|
3 | 3 |
<!--
|
4 | |
Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
|
4 |
Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
5 | 5 |
This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
6 | 6 |
SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
7 | 7 |
-->
|
0 | 0 |
<!--
|
1 | |
Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
2 | |
This file is distributed under a 2-clause BSD license. See LICENSES dir:
|
|
1 |
Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
|
2 |
This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
3 | 3 |
SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
4 | 4 |
-->
|
5 | 5 |
|
0 | 0 |
<!--
|
1 | |
Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
|
1 |
Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
2 | 2 |
|
3 | 3 |
SPDX-License-Identifier: CC-BY-SA-4.0
|
4 | 4 |
-->
|
0 | |
# Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
1 | |
#
|
|
0 |
# Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
|
1 |
# This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
2 | 2 |
# SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
3 | 3 |
|
4 | 4 |
from argparse import ArgumentParser
|
0 | |
# Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
1 | |
# This file is distributed under a 2-clause BSD license. See LICENSES dir:
|
|
0 |
# Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
|
1 |
# This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
2 | 2 |
# SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
3 | 3 |
|
4 | 4 |
"""Objects in the Eqthy document structure."""
|
0 | |
# Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
1 | |
# This file is distributed under a 2-clause BSD license. See LICENSES dir:
|
|
0 |
# Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
|
1 |
# This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
2 | 2 |
# SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
3 | 3 |
|
4 | 4 |
from typing import Union
|
0 | |
# Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
1 | |
# This file is distributed under a 2-clause BSD license. See LICENSES dir:
|
|
0 |
# Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
|
1 |
# This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
2 | 2 |
# SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
3 | 3 |
|
4 | 4 |
# encoding: UTF-8
|
0 | |
# Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
1 | |
# This file is distributed under a 2-clause BSD license. See LICENSES dir:
|
|
0 |
# Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
|
1 |
# This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
2 | 2 |
# SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
3 | 3 |
|
4 | 4 |
from copy import copy
|
0 | |
# Copyright (c) 2022-2023 Chris Pressey, Cat's Eye Technologies
|
1 | |
# This file is distributed under a 2-clause BSD license. See LICENSES dir:
|
|
0 |
# Copyright (c) 2022-2024 Chris Pressey, Cat's Eye Technologies
|
|
1 |
# This file is distributed under a 2-clause BSD license. See LICENSES directory:
|
2 | 2 |
# SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Eqthy
|
3 | 3 |
|
4 | 4 |
from typing import Dict, Union, Any
|
2 | 2 |
if command -v flake8 > /dev/null; then
|
3 | 3 |
echo "flake8 --ignore=E501 src"
|
4 | 4 |
flake8 --ignore=E501 src
|
|
5 |
else
|
|
6 |
echo "flake8 not found, skipping check"
|
5 | 7 |
fi
|
|
8 |
|
6 | 9 |
if command -v mypy > /dev/null; then
|
7 | 10 |
echo "mypy --strict src"
|
8 | 11 |
mypy --strict src
|
|
12 |
else
|
|
13 |
echo "mypy not found, skipping check"
|
|
14 |
fi
|
|
15 |
|
|
16 |
if command -v reuse > /dev/null; then
|
|
17 |
reuse lint
|
|
18 |
else
|
|
19 |
echo "reuse not found, skipping check"
|
9 | 20 |
fi
|
10 | 21 |
|
11 | 22 |
falderal doc/*.md || exit 1
|