summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/files.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-06-03 16:12:54 -0700
committerJohn L. Villalovos <john@sodarock.com>2022-06-04 09:18:22 -0700
commitd6870a981259ee44c64210a756b63dc19a6f3957 (patch)
tree4595fdb24afc3d769cb8895e0679081533969087 /gitlab/v4/objects/files.py
parent1a2781e477471626e2b00129bef5169be9c7cc06 (diff)
downloadgitlab-d6870a981259ee44c64210a756b63dc19a6f3957.tar.gz
chore: enable pylint check: "attribute-defined-outside-init"
Enable the pylint check: "attribute-defined-outside-init" and fix errors detected.
Diffstat (limited to 'gitlab/v4/objects/files.py')
-rw-r--r--gitlab/v4/objects/files.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/v4/objects/files.py b/gitlab/v4/objects/files.py
index 894195c..aa86704 100644
--- a/gitlab/v4/objects/files.py
+++ b/gitlab/v4/objects/files.py
@@ -26,6 +26,8 @@ __all__ = [
class ProjectFile(SaveMixin, ObjectDeleteMixin, RESTObject):
_id_attr = "file_path"
_repr_attr = "file_path"
+ branch: str
+ commit_message: str
file_path: str
manager: "ProjectFileManager"