Commit Graph

12 Commits

Author SHA1 Message Date
3ca76ae0e8 Cleanup: remove "<pep8 compliant>" from headers
It can be assumed that all scripts comply with basic pep8 formatting
regarding white-space, indentation etc.

Also remove note in best practices page & update `tests/python/pep8.py`.

If we want to exclude some scripts from make format,
this can be done by adding them to `ignore_files` in:
source/tools/utils_maintenance/autopep8_format_paths.py

Or using `# nopep8` for to ignore for individual lines.

Ref T98554
2022-06-02 20:16:20 +10:00
bff0cf1030 Cleanup: remove white-space before headers 2022-02-11 14:23:54 +11:00
c434782e3a File headers: SPDX License migration
Use a shorter/simpler license convention, stops the header taking so
much space.

Follow the SPDX license specification: https://spdx.org/licenses

- C/C++/objc/objc++
- Python
- Shell Scripts
- CMake, GNUmakefile

While most of the source tree has been included

- `./extern/` was left out.
- `./intern/cycles` & `./intern/atomic` are also excluded because they
  use different header conventions.

doc/license/SPDX-license-identifiers.txt has been added to list SPDX all
used identifiers.

See P2788 for the script that automated these edits.

Reviewed By: brecht, mont29, sergey

Ref D14069
2022-02-11 09:14:36 +11:00
b66aa0b0a6 Cleanup: pep8 2018-07-03 06:48:44 +02:00
ad7fb1c028 Cleanup: Python imports
Split over lines to diff more easily.
2017-11-29 18:05:41 +11:00
e17c6f79a5 cleanup: py imports 2015-01-28 16:50:51 +11:00
995d4d803a Maintenance: Shebang lines fix for some python scripts 2013-11-18 20:41:22 +11:00
55e3912f25 Big refactor of bl_i18n_utils, switching to an object-based model. Still a bit wip.
Notes:
* Most tools here have been updated, only a few (unused :p ) features should be missing. But some updates are rough for now, and performances are globally worse currently, will address this later (this is only really noticeable when you work over the whole repo, anyway ;) ).
* This update breaks "edit translations" addon, will fix it later, once core (i.e. this module) is considered stable again!
2013-01-12 16:49:06 +00:00
2553cdf195 style cleanup 2012-07-29 12:07:06 +00:00
1fc3f91016 Some small fixes (grrr, python imports...). 2012-07-18 14:03:10 +00:00
dc459c8fea Some cleanup, and update to make those files usable both as self-executables and module stuff...
Also updated update_mo to allwo specifying a custom po/mo file.
2012-07-08 17:10:10 +00:00
f42d606789 rename module to something less generic. 2012-07-03 11:32:42 +00:00